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