0.0.13 • Published 2 years ago

eslint-plugin-slavio-fsd-plugin v0.0.13

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

eslint-plugin-slavio-fsd-plugin

plugin for production project

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

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

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

Usage

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

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

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

{
    "rules": {
        "slavio-fsd-plugin/rule-name": 2
    }
}

Rules

This plugin allows you to set rules for Eslint which determines whether the path is relative or absolute within the current slice (according to FSD terminology).

Since the FSD architecture uses the Public API, all paths within one slice must be relative.

0.0.12

2 years ago

0.0.13

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.3

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago