-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
61 lines (61 loc) · 1.5 KB
/
.eslintrc.js
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
59
60
61
module.exports = {
"ignorePatterns": [
"**/src/auth-portal-api/deploy/**",
"**/dist/**",
],
"env": {
"commonjs": true,
"es6": true,
"node": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"rules": {
"eol-last": "off",
"brace-style": "off",
"comma-dangle": "off",
"comma-spacing": "off",
"eqeqeq": "off",
"indent": "off",
"key-spacing": "off",
"keyword-spacing": "off",
"max-len": "off",
"no-ex-assign": "off",
"no-extra-boolean-cast": "off",
"no-multi-spaces": "off",
"no-throw-literal": "off",
"no-unreachable": "off",
"radix": "off",
"quote-props": "off",
"quotes": "off",
"space-before-function-paren": "off",
"space-in-parens": "off",
"space-infix-ops": "off",
"space-unary-ops": "off",
"spaced-comment": "off"
},
"overrides": [
{
"extends": ["plugin:@typescript-eslint/recommended", "prettier"],
"files": ["**/*.ts"],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-comment": "off",
}
},
{
"files": ["**/*.test.js", "**/*.test.ts"],
"env": { "jest": true },
"rules": {
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
"@typescript-eslint/no-unused-vars": "off",
"prefer-const": "off"
}
}
]
};