-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
40 lines (40 loc) · 1.01 KB
/
.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
37
38
39
40
{
"root": true,
"extends": "eslint:recommended",
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"plugins": ["babel"],
"globals": {
"hyperapp": true
},
"parser": "babel-eslint",
"rules": {
"arrow-spacing": 1,
"block-spacing": [1, "always"],
"brace-style": 1,
"camelcase": [1, { "properties": "always" }],
"comma-dangle": [1, "never"],
"comma-spacing": [1, { "before": false, "after": true }],
"comma-style": [1, "last"],
"computed-property-spacing": [1, "never"],
"func-call-spacing": [1, "never"],
"indent": 1,
"jsx-quotes": ["error", "prefer-double"],
"key-spacing": [1, { "beforeColon": false }],
"no-console": ["error", { "allow": ["warn", "error"] }],
"no-trailing-spaces": 1,
"no-unused-vars": [1, { "varsIgnorePattern": "^h$" }],
"quotes": [1, "single"],
"semi": [1, "never"]
}
}