Simple cli tool to check a code against different kinds of issues
npm install code-guardian
- sensitive data: keys, secrets, passwords
- private key and certificate files
``bash`
npm i -g code-guardian
`bash
cd your-repo
code-guardian
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: []]
`
- CircleCI: test for all branches, deploy only for masternpm t
- ESLint: injected as a build step
- mocha: is a part of CI build` step
- semantic-versioning