Skip to main content

ESLint bridge for Secretlint

eslint-plugin-secretlint

Run Secretlint from ESLint, report secret-detection findings with normal ESLint output, and keep Secretlint config authoring rules close to your shared lint presets.

Flat Config native

Flat config exports for ESLint v9+ and current TypeScript projects.

Secretlint bridge

Runs Secretlint without hiding its native diagnostics or configuration model.

Config policy

Adds focused config-authoring rules instead of recreating the full upstream config.

  • npm license
  • npm total downloads
  • latest GitHub release
  • GitHub stars
  • GitHub open issues
  • Codecov

Secretlint bridge

Runs Secretlint over text and config files through ESLint.

4 Presets

Use the bridge alone or add config-authoring policy.

Config guardrails

Catches duplicate, empty, or brittle Secretlint rules.

Get Started

Install the plugin, enable a preset, and pass through only the upstream options you need.

  • Add the flat-config preset
  • Scan text-like files
  • Keep Secretlint config native
Start setup

Presets

Compare recommended, Secretlint-only, configuration, and all presets.

  • ๐ŸŸก Recommended scanning
  • ๐Ÿงช Secretlint bridge only
  • ๐Ÿ”ง Config policy only
Compare presets

Rule Reference

Browse the bridge rule and config-authoring rules with concrete examples.

  • Secret detection output
  • Rule package checks
  • Config shape guardrails
Browse rules