forked from piuccio/rollup-plugin-amd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
36 lines (36 loc) · 942 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
31
32
33
34
35
36
{
"extends": ["eslint:recommended"],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2018
},
"env": {
"node": true,
"es6": true
},
"rules": {
"camelcase": 2,
"semi": 2,
"quotes": [2, "single"],
"no-undef": 2,
"no-use-before-define": [2, "nofunc"],
"no-multi-spaces": 0,
"no-underscore-dangle": 0,
"no-shadow": 0,
"strict": 2,
"key-spacing": ["error", {
"beforeColon": false,
"afterColon": true
}],
"keyword-spacing": [2, {
"before": true,
"after": true
}],
"no-alert": 0,
"array-callback-return": 1,
"no-self-assign": 2,
"id-blacklist": [2, "self"],
"template-curly-spacing": [2, "never"],
"space-before-function-paren": [2, {"anonymous": "never", "named": "always"}]
}
}