forked from davglass/license-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
30 lines (30 loc) · 846 Bytes
/
.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
{
"root": true,
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "script"
},
"globals": {
"YUI_config": true
},
"rules": {
"no-unused-vars": ["error", { "args": "after-used" }],
"semi": 2,
"eqeqeq": [2, "always"],
"no-console": 0,
"no-irregular-whitespace": 2,
"no-useless-escape": 0,
"indent": ["error", 4],
"space-before-function-paren": ["error", "never"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"arrow-body-style": [2, "always"],
"array-bracket-spacing": [2, "never"],
"object-curly-spacing": [2, "always"],
"key-spacing": ["error", { "beforeColon": false }]
},
"env": {
"node": true,
"browser": true
}
}