0.2.13 • Published 1 year ago

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

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year 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

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago