This repository was archived by the owner on Dec 16, 2020. It is now read-only.
forked from corona-school/backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
42 lines (42 loc) · 1.28 KB
/
Copy path.eslintrc
File metadata and controls
42 lines (42 loc) · 1.28 KB
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
41
42
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"block-scoped-var": "error",
"camelcase": ["warn", {"allow": ["wix_id", "wix_creation_date"]}],
"comma-dangle": "error",
"indent": ["error", 4, {
"SwitchCase": 1,
"ArrayExpression": "first",
"CallExpression": {"arguments": "first"},
"FunctionDeclaration": {"parameters": "first"},
"FunctionExpression": {"parameters": "first"},
"ImportDeclaration": "first",
"ObjectExpression": "first"
}],
"keyword-spacing": ["error", {
"after": true
}],
"key-spacing": ["error", {
"mode": "strict",
"beforeColon": false,
"afterColon": true
}],
"no-debugger": "error",
"no-duplicate-case": "error",
"no-eval": "error",
"no-extra-bind": "error",
"no-extra-semi": "error",
"no-invalid-regexp": "error",
"no-lonely-if": "warn",
"no-multi-spaces": "error",
"no-trailing-spaces": "error",
"@typescript-eslint/semi": ["error", "always"]
}
}