forked from SmartThingsCommunity/st-schema-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
39 lines (39 loc) · 824 Bytes
/
.eslintrc.js
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
module.exports = {
"env" : {
"es6": true,
"browser": true,
"node":true,
"mocha": true
},
"extends": [
"eslint:recommended",
"google"
],
"parserOptions":{
"ecmaVersion": 2017
},
"rules": {
"quotes":[2,"double"],
"semi": [2, "always"],
"no-console": 0,
"no-undef": 0,
"max-len": ["error", { "code": 120 }],
"comma-dangle": [
"error",
{
"arrays": "never",
"objects": "never",
"imports": "never",
"exports": "never",
"functions": "ignore"
}
],
"strict": [2, "global"]
},
"plugins": [
"standard"
],
"globals": {
"AWS": true
}
};