forked from ianmetcalf/node-ds2482-temperature
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
38 lines (32 loc) · 846 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
{
"extends": "airbnb-base",
"env": {
"node": true
},
"parserOptions": {
"sourceType": "script"
},
"rules": {
"handle-callback-err": "error",
"no-mixed-requires": "error",
"no-bitwise": "off",
"no-mixed-operators": ["error", {
"allowSamePrecedence": true
}],
"no-underscore-dangle": ["off"],
"object-curly-spacing": ["error", "never"],
"one-var": ["error", {
"uninitialized": "always",
"initialized": "never"
}],
"one-var-declaration-per-line": ["error", "initializations"],
"no-use-before-define": ["error", "nofunc"],
"arrow-parens": ["error", "as-needed", {
"requireForBlockBody": false
}],
"constructor-super": "error",
"prefer-rest-params": "off",
"prefer-spread": "off",
"template-curly-spacing": ["error", "always"]
}
}