eslint-plugin-csp-i18n
v0.0.0
Published
csp i18n eslint plugin
Downloads
4
Maintainers
Readme
eslint-plugin-csp-i18n
csp i18n eslint plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-csp-i18n
:
npm install eslint-plugin-csp-i18n --save-dev
Usage
Add eslint-plugin-csp-i18n
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["eslint-plugin-csp-i18n"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"eslint-plugin-csp-i18n/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.