包详细信息

eslint-config-wix-editor

wix3.4kMIT8.4.2

Wix's editor company's custom ESLint config

wix, eslint, eslint-config, code

自述文件

eslint-config-wix-editor

NPM Version License Dependency Status devDependency Status

ESLint shareable config for Wix's editor group

Install

$ npm i -D eslint-config-wix-editor

Usage

Add some ESLint config to your package.json:

{
    "name": "some-well-linted-project",
    "eslintConfig": {
        "extends": "wix-editor"
    }
}

Or to .eslintrc:

{
    "extends": "wix-editor"
}

This package also exposes wix-editor/node. This config contains only node-specific rules and is meant to be used alongside the regular config:

{
    "extends": ["wix-editor", "wix-editor/node"]
}

License

Copyright (c) 2015 Wix. Licensed under the MIT license.