-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
60 lines (55 loc) · 933 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
51
52
53
54
55
56
57
58
59
60
{
"extends": ["pro"],
"env": {
"node": true,
"es6": true
},
"rules": {
"operator-linebreak": ["error", "before", { "overrides": { "=": "off" } }]
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": true
},
"plugins": [
"html"
],
"settings": {
"html/indent": "+tab",
"html/report-bad-indent": "error",
"html/html-extensions": [".html", ".svelte"]
},
"overrides": [
{
"files": [ "src/*.html" ],
"rules": {
"semi": [ "error", "always" ]
},
"env": {
"browser": true,
"es6": false,
"node": false
},
"parser": "espree",
"parserOptions": {
"ecmaVersion": 5
}
},
{
"files": [ "test/**/*.js", "tests/**/*.js" ],
"env": {
"mocha": true
}
},
{
"files": ["**/*.md"],
"rules": {
"no-undef": "off",
"no-unused-vars": "off"
}
}
]
}