forked from EricSmekens/jsep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
49 lines (49 loc) · 814 Bytes
/
.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
{
"ignorePatterns": ["**/dist/**/*.js"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true
}
},
"env": {
"browser": true,
"node": true
},
"overrides": [
{
"files": ["test/**/*.js", "*.test.js"],
"parserOptions": {
"ecmaVersion": 7
}
}
],
"rules": {
"semi": 1,
"no-dupe-args": 1,
"no-dupe-keys": 1,
"no-unreachable": 1,
"valid-typeof": 1,
"curly": 1,
"no-useless-call": 1,
"brace-style": [1, "stroustrup"],
"no-mixed-spaces-and-tabs": [1, "smart-tabs"],
"spaced-comment": [1, "always", {
"block": {
"exceptions": ["*"]
}
}],
"indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"linebreak-style": 0,
"arrow-spacing": 1,
"comma-spacing": 1,
"keyword-spacing": 1
}
}