0.2.13 • Published 3 years ago

eslint-plugin-fsd-path-checker v0.2.13

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

eslint-plugin-fsd-path-checker

plugin for checking imports from external modules only from the public API. To check if the FSD (Feature-Sliced Design) import is correct. Plugin work with any of your alias.

Installation

You'll first need to install ESLint:

npm i -D eslint

Next, install eslint-plugin-fsd-path-checker:

npm i -D eslint-plugin-fsd-path-checker

Usage

Add fsd-path-checker to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "fsd-path-checker"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
      "fsd-path-checker/path-checker": "error"
    }
}

If you are use an alias, you may add it:

{
  "rules": {
    "fsd-path-checker/path-checker": [
      "error",
      {
        "alias": "@"
      }
    ]
  }
}
0.2.13

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago