/eslint-formatter-json-standard

Format ESLint output as standardized JSON (compatible with output from other code quality tooling)

Primary LanguageTypeScriptMIT LicenseMIT

eslint-formatter-json-standard

Output ESLint results in a standardized JSON format.

Description

Report ESLint output in a standardized JSON format.

This package is part of the series of packages for reporting tooling output in a standardized JSON format, for use with the Annotate check scripts output Github action.

The other packages include:

Install

npm install --save-dev eslint-formatter-json-standard

Usage

eslint --ext ts --output-file .lint.run.json --format json-standard --cache 'src/**'

This will run eslint on all .ts files in the /src folder and output the results file .lint.run.json