@putout/formatter-eslint
🐊Putout formatter for using ESLint formatters
Last updated 8 months ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (8 months ago)

7 Versions

  • 3.0.1                                ...           8 months ago
  • 3.0.0                                ...           8 months ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.1                                ...           6 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |