-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc
56 lines (56 loc) · 1.71 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
48
49
50
51
52
53
54
55
56
{
"extends": ["eslint:recommended", "prettier", "prettier/@typescript-eslint"],
"env": {
"es6": true,
"node": true,
"jest": true
},
"plugins": [
"@typescript-eslint",
"jsdoc",
"eslint-comments",
"prettier",
"jest"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"project": "./tsconfig.json"
},
"rules": {
"indent": [2, 2],
"quotes": [2, "single", "avoid-escape"],
"node/no-unsupported-features/es-syntax": 0,
"no-dupe-class-members": 0,
"no-unused-vars": 0,
"@typescript-eslint/no-unused-vars": [2, { "args": "none" }],
"no-array-constructor": 0,
"@typescript-eslint/no-array-constructor": 2,
"@typescript-eslint/adjacent-overload-signatures": 2,
"@typescript-eslint/no-namespace": [2, { "allowDeclarations": true }],
"@typescript-eslint/prefer-namespace-keyword": 2,
"@typescript-eslint/no-var-requires": 2,
"@typescript-eslint/no-object-literal-type-assertion": 2,
"@typescript-eslint/no-unnecessary-type-assertion": 2,
"@typescript-eslint/restrict-plus-operands": 2,
"eslint-comments/disable-enable-pair": "error",
"eslint-comments/no-duplicate-disable": "error",
"eslint-comments/no-unlimited-disable": "error",
"eslint-comments/no-unused-disable": "error",
"eslint-comments/no-unused-enable": "error",
"eslint-comments/no-use": "off",
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error"
},
"settings": {
"jsdoc": {
"tagNamePreference": {
"param": "arg",
"returns": "return"
}
}
}
}