eslint-plugin-awesome-fsd-imports

0.1.4 • Public • Published

eslint-plugin-awesome-fsd-imports

Plugin to check according to Feature Sliced Design architecture

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-awesome-fsd-imports:

npm install eslint-plugin-awesome-fsd-imports --save-dev

Usage

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

{
  "plugins": ["awesome-fsd-imports"]
}

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

{
  "rules": {
    "awesome-fsd-imports/relative-imports": 2
  }
}

Rules

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

Package Sidebar

Install

npm i eslint-plugin-awesome-fsd-imports

Weekly Downloads

1

Version

0.1.4

License

ISC

Unpacked Size

6.78 kB

Total Files

7

Last publish

Collaborators

  • dan_writerev