eslint-plugin-feature-sliced

0.0.2 • Public • Published

eslint-plugin-feature-sliced

s

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-feature-sliced:

npm install eslint-plugin-feature-sliced --save-dev

Usage

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

{
  "plugins": ["feature-sliced"]
}

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

{
  "rules": {
    "feature-sliced/path-checker": [
      "error",
      {
        "alias": "@"
      }
    ]
  }
}

Rules

  • path-checker

/eslint-plugin-feature-sliced/

    Package Sidebar

    Install

    npm i eslint-plugin-feature-sliced

    Weekly Downloads

    139

    Version

    0.0.2

    License

    ISC

    Unpacked Size

    8.19 kB

    Total Files

    7

    Last publish

    Collaborators

    • bollgade