-
Notifications
You must be signed in to change notification settings - Fork 460
/
.eslintrc.json
70 lines (70 loc) · 1.58 KB
/
.eslintrc.json
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": false
}
},
"rules": {
"semi": 2,
"quotes": 0,
"strict": 0,
"padding-line-between-statements": 0,
"spaced-comment": 0,
"no-console": 0,
"comma-dangle": 0,
"no-unneeded-ternary": 0,
"space-before-function-paren": 0,
"indent": 0,
"curly": 0,
"no-unused-vars": 0,
"guard-for-in": 0,
"radix": 0,
"no-param-reassign": 0,
"no-else-return": 0,
"eqeqeq": 0,
"dot-notation": 0,
"object-curly-newline": 0,
"operator-assignment": 0,
"no-shadow": 0,
"require-atomic-updates": 0,
"nonblock-statement-body-position": 0,
"no-empty": 0,
"no-lonely-if": 0,
"one-var": 0,
"block-scoped-var": 0,
"no-redeclare": 0,
"no-useless-return": 0,
"no-loop-func": 0,
"default-case": 0,
"no-fallthrough": 0,
"prefer-promise-reject-errors": 0,
"no-throw-literal": 0,
"brace-style": 0
},
"extends": ["@alicloud/eslint-config/es5"],
"ignorePatterns": ["static/", "vendor/", "dist/", "node_modules/", "test/"],
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"angular": "readonly",
"moment": "readonly",
"CodeMirror": "readonly",
"Global": "readonly",
"openExternal": "readonly",
"$": "writable",
"Clipboard": "readonly",
"fs": "readonly",
"path": "readonly",
"os": "readonly",
"request": "readonly",
"custom": "writable",
"OSS": "readonly",
"ALY": "readonly"
}
}