secretlint

Secretlint CLI that scan secret/credential data.

Usage no npm install needed!

<script type="module">
  import secretlint from 'https://cdn.skypack.dev/secretlint';
</script>

README

secretlint

Secretlint CLI that scan secret/credential data.

Install

Install with npm:

npm install secretlint

Usage

Usage
  $ secretlint [file|glob*]

Note
  supported glob syntax is based on microglob
  https://github.com/micromatch/micromatch#matching-features

Options
  --format formatter name. Default: stylish
  --output-file output file path that is written of reported result.
  --no-color disable color of output.
  --secretlintrc Path to .secretlintrc config file.
  --secretlintignore Path to .secretlintignore file. Default: .secretlintignore

Examples
  $ secretlint "**/*"
  $ secretlint "source/**/*.ini"

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu