0.0.1 • Published 8 months ago

eslint-plugin-paths-checker v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

eslint-plugin-path-checker

check import paths

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-path-checker:

npm install eslint-plugin-path-checker --save-dev

Usage

In your configuration file, import the plugin eslint-plugin-path-checker and add path-checker to the plugins key:

import path-checker from "eslint-plugin-path-checker";

export default [
    {
        plugins: {
            path-checker
        }
    }
];

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

import path-checker from "eslint-plugin-path-checker";

export default [
    {
        plugins: {
            path-checker
        },
        rules: {
            "path-checker/rule-name": "warn"
        }
    }
];

Configurations

TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).

Rules

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

0.0.1

8 months ago

0.0.0

8 months ago