eslint-config-vnmf
v3.5.66
Published
Vnmf specific linting rules for ESLint
Downloads
17
Readme
eslint-config-vnmf
Vnmf ESLint config, the Vnmf applet can run normally only when all ESLint rules are passed.
install/setup
Install via NPM:
$ npm install eslint @babel/eslint-parser eslint-config-vnmf eslint-plugin-vnmf eslint-plugin-react eslint-plugin-import --save-dev
Set in .eslintrc
:
{
"extends": [
"vnmf"
]
}
Or use vnmf-cli
to create a template autoset.
rule
The plugin contains four rules:
- Custom Rules (via eslint-plugin-vnmf)
- Variable Definition Rules
- Import rules (via eslint-plugin-import)
- JSX rules (via eslint-plugin-react)