eslint-plugin-coremail
v0.5.0
Published
Javascript Standard Style - ESLint Shareable Config for coremail.cn
Downloads
24
Maintainers
Readme
ESLint config files for Coremail (c)
Important Note
Since eslint 6 changes its config resolving mechanism, config module can not share outside project root.
This project has been changed to a plugin module and renamed (only package name).
For more information, check this issue: https://github.com/eslint/eslint/issues/12654
Usage
To use this config, add this to your package.json
{
"devDependencies" : {
"eslint" : "8.46.0",
"eslint-plugin-coremail" : "0.5.0"
}
}
or install manually
npm install eslint eslint-plugin-coremail
Then, add this to your .eslintrc.yaml
file:
Using standard rules
extends: plugin:coremail/standard
Applying compliant rules (old IE compatible)
extends: plugin:coremail/compliant
Learn more
For the full listing of rules that eslint supports, and more, visit For more information on the full listing of rules, editor plugins, FAQs, and more, visit the ESLint official site.
License
MIT. Copyright (c) Coremail.