SNEKCHECK
an opinionated filename linter that loves snake case
ABOUT
An opinionated filename linter that loves snake case
Languages
README
snekcheck
An opinionated filename linter that loves snake case.
Usage
snekcheck accepts a list of filenames to lint.
-
To lint a filename, simply pass it to
snekcheck.snekcheck <filename>
-
To lint several filenames, provide them in a list.
snekcheck <filename> <filename> <dirname> ...
-
To recursively lint directories and apply filters,
use tools likefindto provide arguments tosnekcheck.find . -exec snekcheck {} +
Flags
snekcheck's behavior can be modified with various flags.
-
To print a help message, specify the
--helpflag.snekcheck --help
-
To automatically rename invalid filenames, specify the
--fixflag.
Be careful, as the renaming strategy may not produce the results you want.snekcheck --fix <filename> ...
-
To print inspected filenames, specify the
--verboseflag.snekcheck --verbose <filename> ...
Build From Source
-
Install Nix
-
Run the build command:
nix build github:jtrrll/snekcheck
-
Find the
snekcheckbinary atresult/bin/snekcheck
