@eaze/danger-plugin-eslint

See linting results in PR comments

Usage no npm install needed!

<script type="module">
  import eazeDangerPluginEslint from 'https://cdn.skypack.dev/@eaze/danger-plugin-eslint';
</script>

README

danger-plugin-eslint

This plugin lints your modified files and outputs tables of warnings and errors. It will fail the build on errors.

Credits

This package is more or less a fork from danger-plugin-eslint from @danpalmer, licensed under MIT.

It lints files that are new or modified in the current PR.

Usage

Install:

npm i @eaze/danger-plugin-eslint --dev

At a glance:

// dangerfile.js
import { schedule } from 'danger';
import eslint from '@eaze/danger-plugin-eslint';

schedule(eslint());