@24hr/eslint-config 中文文档教程
24HR Malmö lint rules
How to use
npm install eslint-24hr --save-dev
将此添加到您的 package.json:
"eslintConfig": {
"extends": "./node_modules/eslint-24hr/eslint-nodejs"
}
Flavors
您可以从所有这些中进行选择:
- eslint-nodejs
- eslint-nodejsflow
- eslint-react
- eslint-reactflow
24HR Malmö lint rules
How to use
npm install eslint-24hr --save-dev
Add this to your package.json:
"eslintConfig": {
"extends": "./node_modules/eslint-24hr/eslint-nodejs"
}
Flavors
You can choose from all of these:
- eslint-nodejs
- eslint-nodejsflow
- eslint-react
- eslint-reactflow