eslint-formatter-json-standard

Output ESLint results in a standardized JSON format.

Usage no npm install needed!

<script type="module">
  import eslintFormatterJsonStandard from 'https://cdn.skypack.dev/eslint-formatter-json-standard';
</script>

README

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