@kate_shpak_07/eslint-plugin-path-checker
v0.0.23
Published
production
Downloads
1,495
Maintainers
Readme
eslint-plugin-path-checker
production
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.
