包详细信息

onelint

One-com33BSD-3-Clause4.0.0

One lint to er to rule them all, and in the darkness bind them.

自述文件

Onelint

standard-engine based linter using the eslint-config-onelint configuration.

Installation

Install the onelint package.

npm install --save-dev onelint

Set up a lint script in package.json:

{
    "name": "some-package",
    "version": "1.0.0",
    "scripts": {
        "lint": "onelint"
    }
}

Editor Configuration

Atom

Use the linter-js-standard-engine plugin. It will automatically detect onelint and use it.