eslint-plugin-egatsak-fsd-plugin

0.0.14 • Public • Published

eslint-plugin-egatsak-fsd-plugin

eslint plugin for checking absolute & relative imports for React feature-sliced design projects

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-egatsak-fsd-plugin:

npm install eslint-plugin-egatsak-fsd-plugin --save-dev

Usage

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

{
  "plugins": ["egatsak-fsd-plugin"]
}

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

{
  "rules": {
    "egatsak-fsd-plugin/path-checker": 2
  }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.

Package Sidebar

Install

npm i eslint-plugin-egatsak-fsd-plugin

Weekly Downloads

0

Version

0.0.14

License

ISC

Unpacked Size

22 kB

Total Files

14

Last publish

Collaborators

  • egatsak