forked from ranilian/amazon-sumerian-hosts-polly-optimized
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
74 lines (74 loc) · 1.65 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
71
72
73
74
{
"parser": "babel-eslint",
"extends": ["airbnb", "prettier", "plugin:jasmine/recommended"],
"plugins": ["prettier", "jasmine"],
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectResetSpread": true
}
},
"globals": {
"atob": true,
"btoa": true,
"document": true,
"navigator": true,
"window": true,
"XMLHttpRequest": true,
"AWS": true,
"THREE": true,
"BABYLON": true,
"expectAsync": true
},
"rules": {
// Specific rule overrides can go here.
"indent": [
"error",
2,
{
"SwitchCase": 1
}
],
"no-var": "warn",
"no-tabs": "warn",
"func-names": "off",
"object-curly-spacing": "off",
"no-param-reassign": "off",
"no-mixed-operators": "off",
"no-bitwise": "off",
"max-len": "off",
"import/no-extraneous-dependencies": "off",
"no-shadow": "off",
"no-plusplus": "off",
"no-underscore-dangle": [
"warn",
{
"allowAfterThis": true,
"allowAfterSuper": true
}
],
"spaced-comment": "off",
"arrow-parens": "off",
"no-trailing-spaces": "warn",
"no-console": "off",
"comma-dangle": "off",
"no-else-return": "off",
"no-unused-vars": "warn",
"class-methods-use-this": "off",
"prefer-const": "warn",
"consistent-return": "off",
"arrow-body-style": "off",
"no-use-before-define": "off"
},
"env": {
"browser": true,
"node": true,
"jasmine": true
},
"settings": {
"import/resolver": {
"webpack": {
"config": "./webpack.common.js"
}
}
}
}