@putout/formatter-eslint
🐊Putout formatter for using ESLint formatters
Last updated a year ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @putout/formatter-eslint 
SYNC missed versions from official npm registry.

@putout/formatter-eslint NPM version

🐊Putout formatter for using ESLint formatters.

Install

npm i putout @putout/formatter-eslint

Usage

To output results in ESLint format use:

putout --format eslint lib

Result 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 lib

License

MIT

Current Tags

  • 3.0.1                                ...           latest (a year ago)

7 Versions

  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Total 15
Today 0
This Week 0
This Month 9
Last Day 0
Last Week 4
Last Month 6
Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE