0.8.1 • Published 10 months ago

@mailing-toolkit/eslint-plugin v0.8.1

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

eslint-plugin-mailing-plugin

Eslint plugin for E-mail templates

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-mailing-plugin:

npm install eslint-plugin-mailing-plugin --save-dev

Usage

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.