eslint-plugin-eslint-path-plugin
v0.0.10
Published
plugin for blogging platform
Downloads
7
Maintainers
Readme
eslint-plugin-eslint-path-plugin
plugin for blogging platform, that checks path to a slice and checks imports from public api
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-eslint-path-plugin:
npm install eslint-plugin-eslint-path-plugin --save-devUsage
In your configuration file, import the plugin eslint-plugin-eslint-path-plugin and add eslint-path-plugin to the plugins key:
import eslint-path-plugin from "eslint-plugin-eslint-path-plugin";
export default [
{
plugins: {
eslint-path-plugin
}
}
];Then configure the rules you want to use under the rules key.
import eslint-path-plugin from "eslint-plugin-eslint-path-plugin";
export default [
{
plugins: {
eslint-path-plugin
},
rules: {
"eslint-path-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.
