1.8.0 • Published 4 years ago
code-guardian v1.8.0
code-guardian
Simple cli tool to check a code against different kinds of issues
Currently supported checks
- sensitive data: keys, secrets, passwords
- private key and certificate files
How to install
npm i -g code-guardian
How to start
cd your-repo
code-guardian
# for more details
code-guardian --help
Options:
--help Show help [boolean]
--version Show version number [boolean]
--path, -p Repo path to check [default: "./"]
--excludes, -e File path to excludes file
[default: "/home/user/code-guardian/.fileignore"]
--entropyThreshold [default: 2]
--checkers Specify checkers to be used
[array] [choices: "private.keys", "secret"] [default: []]
Practices and tools applied
- CircleCI:
test
for all branches,deploy
only formaster
- ESLint: injected as a build step
- mocha:
npm t
is a part of CIbuild
step - semantic-versioning