eslint-plugin-pathchecker-plugin-fsd-methodology

0.0.5 • Public • Published

eslint-plugin-pathchecker-plugin-fsd-methodology

plugin for checking absolute and relative paths in imports according to fsd methodology

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-pathchecker-plugin-fsd-methodology:

npm install eslint-plugin-pathchecker-plugin-fsd-methodology --save-dev

Usage

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

{
    "plugins": [
        "pathchecker-plugin-fsd-methodology"
    ]
}

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

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

Rules

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

Package Sidebar

Install

npm i eslint-plugin-pathchecker-plugin-fsd-methodology

Weekly Downloads

1

Version

0.0.5

License

ISC

Unpacked Size

16.3 kB

Total Files

11

Last publish

Collaborators

  • aikaasan