A Danger plugin to run ESLint on changed files in PRs. Current stable version is 1.0.0, released in December 2017. This plugin automatically runs ESLint on modified files using the project's ESLint config and reports linting errors as Danger messages. It integrates with Danger's PR workflow to enforce code quality. The plugin is ESM-only and requires Danger JS. It is a niche tool for teams using Danger and ESLint in CI. Differentiators: simple setup, zero-config use of project's own ESLint config. Note: no longer actively maintained; last release was 2017.
npm install danger-plugin-eslintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows minimal usage of the eslint() function with optional configuration.
Upgrade Node to >=8.0.0
Consider using danger-plugin-eslint-files or implementing custom ESLint integration.
Ensure an ESLint config file exists in the project root.
Add 'type':'module' to package.json or use .mjs extension for dangerfile.
Use 'import eslint from "danger-plugin-eslint"' and then call eslint() directly.