eslint-plugin-path-checker-new
v0.0.11
Published
feature sliced relative path checker
Maintainers
Readme
eslint-plugin-path-checker
feature sliced relative path checker
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-path-checker:
npm install eslint-plugin-path-checker --save-devUsage
In your configuration file, import the plugin eslint-plugin-path-checker and add path-checker to the plugins key:
import { defineConfig } from "eslint/config";
import path-checker from "eslint-plugin-path-checker";
export default defineConfig([
{
plugins: {
path-checker
}
}
]);Then configure the rules you want to use under the rules key.
import { defineConfig } from "eslint/config";
import path-checker from "eslint-plugin-path-checker";
export default defineConfig([
{
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.
