-
Notifications
You must be signed in to change notification settings - Fork 180
/
.eslintrc
47 lines (47 loc) · 1.23 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
41
42
43
44
45
46
47
{
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"env": {
"browser": true
},
"globals": {
"process": true,
"global": true
},
"rules": {
"@typescript-eslint/array-type": [2, "generic"],
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/no-angle-bracket-type-assertion": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-unused-vars": ["warn", {
"varsIgnorePattern": "Def$",
"argsIgnorePattern": "varArgs"
}],
"indent": "off",
"keyword-spacing": [2, {"before": true, "after": true}],
"no-trailing-spaces": 2,
"no-irregular-whitespace": 2,
"no-param-reassign": 2,
"prettier/prettier": "error",
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"valid-jsdoc": ["error", {
"requireParamDescription": false,
"requireParamType": false,
"requireReturn": false,
"requireReturnDescription": false,
"requireReturnType": false
}]
}
}