@secretlint/secretlint-rule-anthropic
v13.0.2
Published
A secretlint rule for detecting Anthropic Claude API keys
Downloads
13,949
Maintainers
Readme
@secretlint/secretlint-rule-anthropic
A rule for detecting Anthropic Claude API keys in your code.
Install
Install with npm:
npm install @secretlint/secretlint-rule-anthropicUsage
Via .secretlintrc.json(Recommended)
{
"rules": [
{
"id": "@secretlint/secretlint-rule-anthropic"
}
]
}MessageIDs
ANTHROPIC_API_KEY
Anthropic Claude API key is detected.
NG examples:
sk-ant-api03-R2D2C3P0BEEP_BOOP_BUZZ_WHIRR_CLICK_SPIN_TURN_JUMP_SKIP_HOP_DANCE_SING_PLAY_WORK_LEARN_GROW_LOVE_LIVEigAAOptions
allows: string[]- Allows a list of RegExp-like String
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.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
License
MIT © azu
