0.0.5 • Published 8 months ago

eslint-plugin-for-r-news v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months 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🔧
public-api-importsAbsolute import is only allowed from the Public API (index.ts)🔧