@lsmoura/danger-plugin-eslint
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

danger-plugin-eslint

It grabs the generated json by eslint and publishes the reports.

Usage

Install this Danger plugin:

yarn add --dev @lsmoura/danger-plugin-jest

By default, this package will assume you've set the filename as eslint-result.json, but you can use any path.

Add a step on your github action script to generate the linting output file:

  - name: linting
    continue-on-error: true
    run: yarn lint --output-file eslint-result.json --format json --no-color

You can check danger.yml for details.

Author

Sergio Moura <https://sergio.moura.ca>

Dependents (0)

Package Sidebar

Install

npm i @lsmoura/danger-plugin-eslint

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

3.23 kB

Total Files

4

Last publish

Collaborators

  • lsmoura