0.0.11 • Published 4 years ago

@rescripts/rescript-use-eslint-config v0.0.11

Weekly downloads
9,693
License
MIT
Repository
github
Last release
4 years ago

@rescripts/rescript-use-eslint-config

About

Use your own ESLint configuration.

Installation

npm i -D @rescripts/rescript-use-eslint-config

Usage

From a .eslintrc:

[["use-eslint-config", ".eslintrc"]]

Searches for the config in your root directory.

From config file

Call use-eslint-config with .eslintrc.js, .eslintrc.json, or any other file name (must have .js or .json extension).

[["use-eslint-config", "name-your-eslint-config-whatever.js"]]

Searches for the config from your root directory and node_modules.

From package.json

[["use-eslint-config", "package"]]

Searches for the config within the eslintConfig field of your package.json.

Inline config

[
  [
    "use-eslint-config",
    {
      "extends": ["react-app"],
      "plugins": ["some-plugin"],
      "rules": {
        "some-rule": 0
      }
    }
  ]
]
0.0.11

4 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.2-alpha.57

6 years ago