eslint-plugin-sen
v0.0.0
Published
personal eslint plugin
Downloads
75
Maintainers
Readme
eslint-plugin-sen
personal eslint plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-sen
:
npm install eslint-plugin-sen --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-sen
and add sen
to the plugins
key:
import sen from "eslint-plugin-sen";
export default [
{
plugins: {
sen
}
}
];
Then configure the rules you want to use under the rules
key.
import sen from "eslint-plugin-sen";
export default [
{
plugins: {
sen
},
rules: {
"sen/template-literals": "error"
}
}
];