forked from docschina/webpack.js.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
50 lines (43 loc) · 810 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"root": true,
"extends": "eslint:recommended",
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true,
"node": true
},
"plugins": [
"markdown"
],
"globals": {
"__DEV__": true
},
"rules": {
"no-undef": 2,
"no-unreachable": 2,
"no-unused-vars": 0,
"no-console": 0,
"semi": ["error", "always"]
},
"overrides": [
{
"files": ["*.md"],
"parserOptions": {
"codeFrame": true,
},
"rules": {
"strict": 0,
"no-undef": 0,
"semi": 0,
"no-constant-condition": 0,
"no-useless-escape": 0,
"no-extra-semi": 0,
"no-redeclare": 0,
"no-unused-labels": 0,
"no-use-before-define": 0,
"no-mixed-spaces-and-tabs": 0
}
}
]
}