1.0.1 • Published 5 years ago
eslint-gha-formatter v1.0.1
ESLint Formatter for GitHub Actions
A custom formatter for ESLint that creates annotations for GitHub Actions.
Installation
npm install --save-dev eslint-gha-formatterUsage
eslint . -f eslint-gha-formatterIf eslint-gha-formatter detects that ESLint runs in a GitHub runner (GITHUB_ACTIONS environment variable is set to true), it creates annotations for GitHub Actions..
Otherwise, it invokes ESLint's stylish formatter.