A Danger plugin for linting JavaScript/TypeScript and CSS/SCSS files in CI/CD pipelines. Version 1.4.0, stable but low release cadence. Integrates with ESLint and Stylelint to provide inline code review warnings on pull requests, leveraging Danger's message infrastructure. Lightweight alternative to full linting CI steps when combined with Danger.
npm install danger-plugin-code-lintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and configure the plugin with ESLint and Stylelint options in a Dangerfile.
Upgrade Danger to >=7.0.0
Install eslint and/or stylelint in your project
Use import lint from 'danger-plugin-code-lint' then call lint(options)
Run npm install --save-dev eslint
Use import lint from 'danger-plugin-code-lint' and invoke lint(options)
Run npm install --save-dev danger-plugin-code-lint