-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.eslintrc.json
36 lines (36 loc) · 867 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
{
"env": {
"es6": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {"project": ["./tsconfig.json"]},
"plugins": ["@typescript-eslint"],
"extends": [
"xo/browser",
"xo-typescript"
],
"rules": {
"arrow-parens": ["error", "always"],
"curly": ["error", "multi-line"],
"padding-line-between-statements": "off",
"object-shorthand": ["error", "properties"],
"@typescript-eslint/ban-types": ["error", {"extendDefaults": true}],
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": {
"delimiter": "comma",
"requireLast": true
},
"singleline": {
"delimiter": "comma",
"requireLast": false
}
}],
"@typescript-eslint/padding-line-between-statements": "off"
},
"overrides": [{
"files": ["test/*.ts"],
"rules": {
"@typescript-eslint/no-confusing-void-expression": "off"
}
}]
}