New Rule: secretlint-rule-secret-patterns
See original GitHub issueIt is generic rule (not recommended).
Thie rule just use @textlint/regexp-string-matcher for matching content with rule’s options
.
{
"rules": [
{
"id": "@secretlint/ecretlint-rule-secret-patterns",
"options": {
"pattens": [
"/IT IS SECRET/i",
"/API_TOKEN=\w{40}/i"
],
"patternFiles": ["./secret.yml"] // need?
}
}
]
}
This rule allow to define secret patterns by user. In other words, it is just user defined NG words list.
It similar concept with textlint-rule-prh. This rule allow a project to have own dictionary for secretlint.
TODO
- Require suitable rule name
- Implement
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7 (7 by maintainers)
Top Results From Across the Web
SEC Final Rules
Proposed Rule Rel. No. 34-93169 · 33-11131, Nov. 2, 2022, Enhanced Reporting of Proxy Votes by Registered Management Investment Companies; ...
Read more >The SEC Signals it is Ready to Enforce the New Marketing ...
The SEC originally published the new rule in March 2021 with a compliance date of November 4, 2022 to modernize and replace a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll try to get a PR open soon then!
I like it.