-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
58 lines (58 loc) · 1.59 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": ["./tsconfig.json"]
},
"plugins": [
"@typescript-eslint",
"import",
"prettier",
"promise",
"jsdoc",
"regexp",
"unicorn"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:prettier/recommended",
"plugin:promise/recommended",
"plugin:jsdoc/recommended",
"plugin:regexp/recommended",
"plugin:unicorn/recommended"
],
"settings": {
"import/resolver": {
"typescript": {}
}
},
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-inferrable-types": "off",
"prettier/prettier": [
"error",
{ "singleQuote": true, "endOfLine": "auto", "trailingComma": "es5" }
],
"jsdoc/require-returns": "off",
"jsdoc/require-param": "off",
"jsdoc/require-jsdoc": "off",
"jsdoc/require-param-description": "off",
"jsdoc/require-param-type": "off",
"jsdoc/check-param-names": "off",
"jsdoc/require-returns-type": "off",
"import/no-named-as-default-member": "off",
// WOULD LOVE TO HAVE IT ON BUT PRETTIER...
"unicorn/number-literal-case": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-top-level-await": "off",
"unicorn/no-null": "off"
}
}