0.1.21 • Published 2 years ago

eslint-plugin-v1 v0.1.21

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

eslint-plugin-v1

Plugin for r-news project

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-v1:

npm install eslint-plugin-v1 --save-dev

Usage

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

{
    "plugins": [
        "v1"
    ]
}

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

{
    "rules": {
        "v1/rule-name": 2
    }
}

Rules

🔧 Automatically fixable by the --fix CLI option.

Name                        Description🔧
layer-importsA layer can only import underlying layers (shared, entities, features, widgets, pages, app)
module-relative-path-checkerWithin one slice, all paths must be relative🔧
public-api-importsAbsolute import is only allowed from the Public API (index.ts)🔧
0.1.21

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago