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