@jamesacarr/eslint-formatter-github-actions
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

ESLint Reporter for GitHub Actions

Test status NPM badge

A custom formatter for ESLint that creates annotations when run via GitHub Actions

Installation

npm install -D @jamesacarr/eslint-formatter-github-actions

Or, even better:

yarn add -D @jamesacarr/eslint-formatter-github-actions

Usage

To get annotations working in your GitHub Actions runs, you need to run ESLint with the --format or -f flag. For example:

eslint -f @jamesacarr/github-actions

You can also use this formatter if you're using XO:

xo --reporter @jamesacarr/github-actions

Package Sidebar

Install

npm i @jamesacarr/eslint-formatter-github-actions

Weekly Downloads

899

Version

0.2.0

License

MIT

Unpacked Size

11.1 kB

Total Files

8

Last publish

Collaborators

  • jamesacarr