1.1.3 • Published 12 months ago

eslint-plugin-fsd-principles v1.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

eslint-plugin-fsd-principles

Eslint configs and rules to ensure the principles of the Feature-Sliced Design methodology

Installation

You'll first need to install ESLint:

npm i eslint --save-dev
yarn add eslint -D

Next, install eslint-plugin-fsd-principles:

npm install eslint-plugin-fsd-principles --save-dev
yarn add eslint-plugin-fsd-principles -D

Also, you need [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import/) as dependency:

npm install eslint-plugin-import --save-dev
yarn add eslint-plugin-import -D

Usage

Add fsd-principles to the plugins section of your .eslintrc configuration file:

{
    "plugins": [
        "fsd-principles"
    ]
}

or simply add plugin:fsd-principles/recommended to the extends section of your .eslintrc

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

{
    "rules": {
        "fsd-principles/import-only-from-public-api": [ "error", [ "directoryName" ] ]
    }
}
1.1.1

12 months ago

1.1.0

12 months ago

1.1.3

12 months ago

1.1.2

12 months ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago