-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
32 lines (32 loc) · 921 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
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"env": {
"node": true,
"es6": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-console": "off",
"no-unused-vars": "off",
"block-scoped-var": "error",
"curly": ["error", "multi-line"],
"no-empty-function": "off",
"no-labels": "error",
"no-lone-blocks": "error",
"no-useless-return": "off",
"semi": "error",
"eol-last": ["error", "always"],
"quotes": ["error", "single", { "allowTemplateLiterals": true, "avoidEscape": true }],
"object-curly-spacing": ["error", "always", { "arraysInObjects": true, "objectsInObjects": true }]
}
}