Skip to content

Commit b7b5dd0

Browse files
committed
chore(repo): update all deps
1 parent dc3e9d1 commit b7b5dd0

File tree

7 files changed

+6705
-7467
lines changed

7 files changed

+6705
-7467
lines changed

.eslintrc

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"extends": "eslint:recommended",
88
"parserOptions": {
9-
"sourceType": "module"
9+
"sourceType": "module",
10+
"ecmaVersion": 2015
1011
},
1112
"rules": {
1213
"array-bracket-spacing": [2, "always"],
@@ -22,5 +23,52 @@
2223
"strict": 0,
2324
"space-before-blocks": [2, "always"],
2425
"space-before-function-paren": [2, {"anonymous":"always","named":"never"}]
25-
}
26+
},
27+
"overrides": [
28+
{
29+
"parser": "@typescript-eslint/parser",
30+
"files": ["**/*.ts", "**/*.tsx"],
31+
"parserOptions": {
32+
"ecmaVersion": 2020,
33+
"sourceType": "module"
34+
},
35+
"env": { "jest": true },
36+
"extends": [
37+
"eslint:recommended",
38+
"plugin:@typescript-eslint/eslint-recommended",
39+
"plugin:@typescript-eslint/recommended"
40+
],
41+
"rules": {
42+
"@typescript-eslint/ban-ts-comment": "off",
43+
"@typescript-eslint/explicit-function-return-type": "off",
44+
"@typescript-eslint/explicit-module-boundary-types": "off",
45+
"@typescript-eslint/no-explicit-any": "off",
46+
"@typescript-eslint/no-unused-vars": "off",
47+
"@typescript-eslint/no-non-null-assertion": "off",
48+
"@typescript-eslint/no-shadow": ["error"],
49+
"@typescript-eslint/no-use-before-define": ["error"],
50+
"@typescript-eslint/ban-types": "off",
51+
"prefer-rest-params": "off",
52+
"prefer-rest": "off",
53+
"prefer-spread": "off"
54+
}
55+
},
56+
{
57+
"files": ["**/test/**/*.ts"],
58+
"rules": {
59+
"consistent-return": "off",
60+
"max-lines": "off",
61+
"@typescript-eslint/ban-ts-comment": "off",
62+
"@typescript-eslint/explicit-function-return-type": "off",
63+
"@typescript-eslint/no-empty-function": "off",
64+
"@typescript-eslint/no-explicit-any": "off",
65+
"@typescript-eslint/no-floating-promises": "off",
66+
"@typescript-eslint/no-non-null-assertion": "off",
67+
"@typescript-eslint/no-unused-vars": "off",
68+
"@typescript-eslint/camelcase": "off",
69+
"import/max-dependencies": "off",
70+
"sonarjs/no-duplicate-string": "off"
71+
}
72+
}
73+
]
2674
}

0 commit comments

Comments
 (0)