forked from AlexanderBabel/homebridge-broadlink-rm
-
Notifications
You must be signed in to change notification settings - Fork 94
/
.eslintrc.json
executable file
·51 lines (46 loc) · 1.12 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
{
"root": true,
"plugins": [
"no-autofix"
],
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"HistoryService":true,
"Characteristic":true,
"Service":true
},
"ignorePatterns": [
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"global-require": "off",
"no-unused-vars": "off",
"no-mixed-spaces-and-tabs": "off",
"no-fallthrough": "off",
"no-unreachable": "off",
"no-empty": "off",
"no-console": "off",
"quotes": "off",
"brace-style": "off",
"semi": "off",
"comma-dangle": "off",
"eqeqeq": "off",
"no-extra-semi": "warn",
"dot-notation": "warn",
"no-autofix/prefer-const": "warn",
"indent": ["error", 2, { "SwitchCase": 1 }],
"linebreak-style": ["error", "windows"],
"curly": 1
}
}