eslint-config-accelerator

1.0.2 • Public • Published

eslint-config-accelerator

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

Installation

You'll install eslint-config-accelerator:

$ npm install eslint-config-accelerator --save-dev

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

Usage

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

{
    "extends": [
        "accelerator"
    ]
}

For Node

{
    "extends": [
        "accelerator/node"
    ]
}

For Unit Test Files

{
    "extends": [
        "accelerator/specs"
    ]
}

For Lodash

{
    "extends": [
        "accelerator/lodash"
    ]
}

For Jest

{
    "extends": [
        "accelerator/jest"
    ]
}

For Webpack

{
    "extends": [
        "accelerator/webpack"
    ]
}

License

MIT

Package Sidebar

Install

npm i eslint-config-accelerator

Weekly Downloads

14

Version

1.0.2

License

MIT

Last publish

Collaborators

  • sku146