forked from serialport/node-serialport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
36 lines (36 loc) · 785 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
{
"extends": [
"standard",
"plugin:node/recommended"
],
"plugins": [
"node"
],
"env": {
"node": true,
"mocha": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"globals": {
"assert": false,
"makeTestFeature": false
},
"rules": {
"no-unused-vars": [2, { "vars": "all", "args": "after-used" }],
"no-var": 2,
"no-process-exit": 0,
"node/no-unsupported-features": 2,
"node/shebang": 0,
"object-curly-spacing": [2, "always"],
"object-shorthand": 2,
"prefer-arrow-callback": 2,
"prefer-const": 2,
"prefer-template": 2,
"semi": [2, "always", {"omitLastInOneLineBlock": true}],
"space-before-function-paren": [2, "never"],
"standard/object-curly-even-spacing": 0
}
}