forked from serialport/node-serialport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
28 lines (28 loc) · 737 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
{
"extends": [
"standard"
],
"plugins": [
"require-path-exists"
],
"env": {
"node": true,
"mocha": true
},
"rules": {
"arrow-parens": [2, "as-needed", {"requireForBlockBody": true }],
"no-unused-vars": [2, { "vars": "all", "args": "after-used" }],
"no-var": 2,
"object-curly-spacing": [2, "always"],
"object-shorthand": 2,
"prefer-arrow-callback": 2,
"prefer-const": 2,
"prefer-template": 2,
"require-path-exists/exists": 2,
"require-path-exists/notEmpty": 2,
"require-path-exists/tooManyArguments": 2,
"semi": [2, "always", {"omitLastInOneLineBlock": true}],
"space-before-function-paren": [2, "never"],
"standard/object-curly-even-spacing": 0
}
}