@mailing-toolkit/eslint-plugin
v0.8.1
Published
Eslint plugin for E-mail templates
Maintainers
Readme
eslint-plugin-mailing-plugin
Eslint plugin for E-mail templates
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-mailing-plugin:
npm install eslint-plugin-mailing-plugin --save-devUsage
Add mailing-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"mailing-plugin"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"mailing-plugin/rule-name": 2
}
}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.
