eslint-plugin-course-absolute-imports
v0.0.4
Published
plugin for fsd
Downloads
282
Maintainers
Readme
eslint-plugin-course-absolute-imports
plugin for fsd
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-course-absolute-imports
:
npm install eslint-plugin-course-absolute-imports --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-course-absolute-imports
and add course-absolute-imports
to the plugins
key:
import course-absolute-imports from "eslint-plugin-course-absolute-imports";
export default [
{
plugins: {
course-absolute-imports
}
}
];
Then configure the rules you want to use under the rules
key.
import course-absolute-imports from "eslint-plugin-course-absolute-imports";
export default [
{
plugins: {
course-absolute-imports
},
rules: {
"course-absolute-imports/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.