13.1.0 • Published 3 years ago

@moxy/eslint-config-babel v13.1.0

Weekly downloads
208
License
MIT
Repository
github
Last release
3 years ago

eslint-config-babel

NPM version Downloads Dependency status Dev Dependency status

MOXY's ESLint configuration enhancer for projects that use Babel.

Installation

$ npm install --save-dev eslint @moxy/eslint-config-babel

Usage

Create a .eslintrc.json file in the project root and extend @moxy/eslint-config-babel.

This package should be used in conjunction with @moxy/eslint-config-base.

Example

{
    "root": true,
    "env": {
        "browser": true,
    },
    "extends": [
        "@moxy/eslint-config-base/esm",
        "@moxy/eslint-config-babel"
    ]
}

⚠️ If you are using a monorepo, you will need specify the configFile to point to the root:

{
    "root": true,
    "env": {
        "browser": true
    },
    "extends": [
        "@moxy/eslint-config-base/esm",
        "@moxy/eslint-config-babel"
    ],
    "parserOptions": {
        "babelOptions": {
          "configFile": "./.babelrc.json"
        }
    }
}
13.1.0

3 years ago

13.0.3

4 years ago

13.0.0

4 years ago

12.3.0

4 years ago

12.2.0

4 years ago

12.1.1

4 years ago

12.1.0

4 years ago

12.0.3

4 years ago

12.0.2

4 years ago

12.0.1

4 years ago

12.0.0

4 years ago

11.0.3

4 years ago

11.0.2

4 years ago

11.0.1

4 years ago

11.0.0

4 years ago