@opendt/eslint-config
v1.0.2
Published
ESLint configs for javascript
Downloads
13
Readme
ESLint Configs
Install
- install the dependency
npm install @opendt/config-config --save-dev
- use one of the following configs in your
eslintrc
file
{
extends: [
"@opendt", // default, common rules for js
"@opendt/eslint-config/react-native", // for react-native
"@opendt/eslint-config/wechat-mini", // for wechat mini program
"@opendt/eslint-config/web", // for web project
],
}
Coding Rules
See: JS代码规范