On Mon, 3 Apr 2023 at 15:47, Stephen Hemminger <[email protected]> wrote: > > Shell script to find use of words that not be used. > By default it prints matches. The -q (quiet) option > is used to just count. There is also -l option > which lists lines matching (like grep -l). > > Uses the word lists from Inclusive Naming Initiative > see https://inclusivenaming.org/word-lists/ > > Examples: > $ ./devtools/check-naming-policy.sh -q > Total files: 37 errors, 90 warnings, 2 suggestions > > $ ./devtools/check-naming-policy.sh -q -l lib/eal > Total lines: 32 errors, 8 warnings, 0 suggestions > > Add MAINTAINERS file entry for the new tool and resort > the list files back into to alphabetic order > > Signed-off-by: Stephen Hemminger <[email protected]> > --- > v2 - fix typo in words > - add subtree (pathspec) option > - update maintainers file (and fix alphabetic order)
There's a json file on the website, how about downloading that on the fly rather than storing a local copy that will go out of date? https://inclusivenaming.org/word-lists/index.json

