@secretlint/secretlint-rule-example

An example rule for secretlint. It it for testing.

Usage no npm install needed!

<script type="module">
  import secretlintSecretlintRuleExample from 'https://cdn.skypack.dev/@secretlint/secretlint-rule-example';
</script>

README

@secretlint/secretlint-rule-example

An example rule for secretlint. It is for testing.

ALWAYS MATCH "SECRET" string.

Install

Install with npm:

npm install @secretlint/secretlint-rule-example

MessageIDs

EXAMPLE_MESSAGE

found secret: {{ID}}

An example error message.

Options

Changelog

See Releases page.

Running tests

No Test to avoid Dependency cycles.

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