-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
31 lines (30 loc) · 894 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
// 请不需要修改 extends
"extends": ["airbnb-base", "appx"],
// 根据需要修改 rules,详见 http://eslint.org/docs/rules/
// 推荐的编码风格 https://github.com/airbnb/javascript
"rules": {
"arrow-body-style": [0],
"class-methods-use-this": [0],
"consistent-return": [0],
"generator-star-spacing": [0],
"global-require": [0],
"import/extensions": [0],
"import/first": [0],
"import/no-extraneous-dependencies": [0],
"import/prefer-default-export": [0],
"import/no-unresolved": [0],
"linebreak-style": [0],
"no-bitwise": [0],
"no-cond-assign": [0],
"no-console": [0],
"no-else-return": [0],
"no-nested-ternary": [0],
"no-restricted-syntax": [0],
"no-trailing-spaces": [0],
"no-use-before-define": [0],
"no-useless-escape": [0],
"prefer-template": [0],
"require-yield": [1]
}
}