forked from Tencent/wepy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
35 lines (35 loc) · 671 Bytes
/
Copy path.eslintrc
File metadata and controls
35 lines (35 loc) · 671 Bytes
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
32
33
34
35
{
"parser": "babel-eslint",
"env": {
"es6": true,
"node": true,
"mocha": true
},
"rules": {
"strict": [0],
"eqeqeq": 2,
"quotes": [2, "single", {"allowTemplateLiterals": true}],
"no-underscore-dangle": 0,
"eol-last": 0,
"camelcase": 0,
"no-loop-func": 0,
"no-trailing-spaces": 0,
"consistent-return": 0,
"new-cap": 0,
"no-shadow": 0,
//"semi": 0,
"no-process-exit": 0,
"no-empty": 0,
"yoda": 0,
"no-new-func": 0
},
"globals": {
App,
Page,
wx,
__VERSION__,
Component
},
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
plugins: ['prettier']
}