2.0.3 • Published 6 years ago

eslint-config-build-engine v2.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

eslint-config-build-engine

Collection of ESLint rules to use for all the development environments (ex: nodejs, react, webpack, etc..,)

Installation

You'll install eslint-config-build-engine:

$ npm install eslint-config-build-engine --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-coonfig-build-engine globally.

Usage

Add build-engine to the plugins section of your .eslintrc configuration file. You can omit the eslint-config- prefix:

{
    "extends": [
        "build-engine"
    ]
}

For React

{
    "extends": [
        "build-engine/react"
    ]
}

For Jasmine

{
    "extends": [
        "build-engine/jasmine"
    ]
}

For Lodash

{
    "extends": [
        "build-engine/lodash"
    ]
}

For Jest

{
    "extends": [
        "build-engine/jest"
    ]
}

For Webpack

{
    "extends": [
        "build-engine/webpack"
    ]
}

License

MIT