Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Features
ESM rule support #187
Secretlint allow to load secretlint rule as ESM(ECMAScript modules).
You can write secretlint rule as ESM.
For more details, pleases see document.
Support
secretlint-disable
directive #96 #195@secretlint/secretlint-rule-filter-comments support disable comment like
secretlint-disable
.This rule is included in @secretlint/secretlint-rule-preset-recommend.
If you want to use this directive in shellscript, you can use
# secretlint-disable
.For more details, see https://github.com/secretlint/secretlint/blob/master/docs/configuration.md
Breaking Changes
use
export cosnt creator
instead ofexport default
#190Secretlint rule should use named export insteadof default export.
It is caused is thatDynamic Import in CommonJS is broken #190
If you have a secretlint rule, please change following.
Require Node.js 12 and update
engines
#193Now, Secretlint requires Node.js 12+
It aims to support ECMAScript modules.