@secretlint/secretlint-rule-groq
v13.0.2
Published
A secretlint rule for detecting Groq API keys
Maintainers
Readme
@secretlint/secretlint-rule-groq
A rule for detecting Groq API keys in your code.
Install
Install with npm:
npm install @secretlint/secretlint-rule-groqUsage
Via .secretlintrc.json(Recommended)
{
"rules": [
{
"id": "@secretlint/secretlint-rule-groq"
}
]
}MessageIDs
GROQ_API_KEY
Groq API key is detected.
Groq API keys use the gsk_ prefix followed by exactly 52 alphanumeric characters.
NG examples:
gsk_aBcDeFgHiJkLmNoPqRsT1234567890abcdefghijklmnopqrstuvOptions
allows: string[]- Allows a list of RegExp-like String
Changelog
See Releases page.
Running tests
npm testContributing
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
