Skip to main content

Presets

eslint-plugin-secretlint exposes focused flat-config presets for secret scanning and Secretlint config authoring.

Legacy aliases remain available for compatibility:

  • secretlint.configs.text โ†’ secretlint.configs.secretlintOnly
  • secretlint.configs.configs โ†’ secretlint.configs.configuration

Use the preset pages in this section for copy/paste config snippets and rollout notes.

Rule matrixโ€‹

Fix legend:

  • ๐Ÿ”ง = autofixable
  • โ€” = report only

Preset key legend:

RuleFixPreset key
secretlintโ€”๐ŸŸก ๐Ÿงช ๐ŸŸฃ
require-secretlint-config-file-naming-conventionโ€”๐ŸŸก ๐Ÿ”ง ๐ŸŸฃ
require-secretlint-rules-arrayโ€”๐ŸŸก ๐Ÿ”ง ๐ŸŸฃ
require-secretlint-rule-idโ€”๐ŸŸก ๐Ÿ”ง ๐ŸŸฃ
disallow-secretlint-duplicate-rulesโ€”๐ŸŸก ๐Ÿ”ง ๐ŸŸฃ
disallow-secretlint-empty-rule-idโ€”๐ŸŸก ๐Ÿ”ง ๐ŸŸฃ
disallow-secretlint-relative-rule-pathsโ€”๐ŸŸก ๐Ÿ”ง ๐ŸŸฃ
disallow-secretlint-unknown-rule-propertiesโ€”๐Ÿ”ง ๐ŸŸฃ
prefer-secretlint-allow-message-ids-arrayโ€”๐Ÿ”ง ๐ŸŸฃ
prefer-secretlint-nested-rules-arrayโ€”๐Ÿ”ง ๐ŸŸฃ
require-secretlint-rules-packages-installedโ€”๐Ÿ”ง ๐ŸŸฃ