@jamesacarr/eslint-formatter-github-actions
v0.2.0
Published
Reporter for Jest that outputs GitHub Actions annotations
Downloads
8,651
Maintainers
Readme
ESLint Reporter for GitHub Actions
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