@putout/formatter-eslint
v3.0.1
Published
šPutout formatter for using ESLint formatters
Downloads
4,702
Maintainers
Readme
@putout/formatter-eslint 
šPutout formatter for using ESLint formatters.
Install
npm i putout @putout/formatter-eslintUsage
To output results in ESLint format use:
putout --format eslint libResult example:
{
"errors": [{
"name": "/home/coderaiser/putout/packages/putout/lib/putout.js",
"places": [{
"rule": "remove-debugger",
"message": "Unexpected \"debugger\" statement",
"position": {
"line": 3,
"column": 0
}
}]
}],
"filesCount": 1,
"errorsCount": 1
}To use eslint formatter set it with help of env variable ESLINT_FORMATTER.
For example to use eslint-formatter-pretty run:
ESLINT_FORMATTER=pretty putout --format eslint libLicense
MIT
