0.2.0 • Published 11 months ago
eslint-plugin-web-og-path-checker v0.2.0
eslint-plugin-web-og-path-checker
plugin for fsd path check
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-web-og-path-checker
:
npm install eslint-plugin-web-og-path-checker --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-web-og-path-checker
and add web-og-path-checker
to the plugins
key:
import web-og-path-checker from "eslint-plugin-web-og-path-checker";
export default [
{
plugins: {
web-og-path-checker
}
}
];
Then configure the rules you want to use under the rules
key.
import web-og-path-checker from "eslint-plugin-web-og-path-checker";
export default [
{
plugins: {
web-og-path-checker
},
rules: {
"web-og-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.