mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05:00
CHECKSRC.md: clarified, explained the whitelist file
This commit is contained in:
parent
1135340214
commit
acc2aeb407
@ -18,11 +18,11 @@ when, for example, one of the files is generated.
|
|||||||
|
|
||||||
## What does checksrc warn for?
|
## What does checksrc warn for?
|
||||||
|
|
||||||
checksrc does check and verify the entire style guide, but the script is an
|
checksrc does not check and verify the code against the entire style guide,
|
||||||
effort to detect the most common mistakes and syntax mistakes that
|
but the script is instead an effort to detect the most common mistakes and
|
||||||
contributers make before they get accustomed to our code style. Heck, many of
|
syntax mistakes that contributers make before they get accustomed to our code
|
||||||
us regulars do the mistakes too and this script helps us keep the code in
|
style. Heck, many of us regulars do the mistakes too and this script helps us
|
||||||
shape.
|
keep the code in shape.
|
||||||
|
|
||||||
checksrc.pl -h
|
checksrc.pl -h
|
||||||
|
|
||||||
@ -117,6 +117,8 @@ instances are ignored and nothing extra.
|
|||||||
|
|
||||||
### Directory wide ignore patterns
|
### Directory wide ignore patterns
|
||||||
|
|
||||||
`checksrc.whitelist` describe!
|
This is a method we've transitioned away from. Use inline ignores as far as
|
||||||
|
possible.
|
||||||
|
|
||||||
|
Make a `checksrc.whitelist` file in the directory of the source code with the
|
||||||
|
false positive, and include the full offending line into this file.
|
||||||
|
Loading…
Reference in New Issue
Block a user