@secretlint/secretlint-rule-figma
v13.0.2
Published
A secretlint rule for Figma
Readme
@secretlint/secretlint-rule-figma
Figma rule for secretlint.
Install
Install with npm:
npm install @secretlint/secretlint-rule-figmaMessageIDs
FIGMA_PERSONAL_ACCESS_TOKEN
found Figma Personal Access Token: ${props.ID}
Figma Personal Access Tokens (figd_) should be private.
The token format is a figd_ prefix followed by 40 to 200 characters of
[A-Za-z0-9_-]. This prefix matches the pattern supported by
GitHub Secret Scanning.
Legacy UUID-format Figma tokens (without a prefix) are intentionally not detected because their pattern is too generic and would produce false positives.
Options
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
