Skip to content

Commit 4c6f88f

Browse files
refactor: dev dependency updates (#4)
1 parent 37f5ab6 commit 4c6f88f

File tree

21 files changed

+20780
-3471
lines changed

21 files changed

+20780
-3471
lines changed

.eslintrc.js

+6-14
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ module.exports = {
3636
rules: {
3737
"default-param-last": "off",
3838
"@typescript-eslint/default-param-last": "error",
39-
"no-array-constructor": "off",
40-
"@typescript-eslint/no-array-constructor": "error",
39+
"no-empty-function": "off",
40+
"@typescript-eslint/no-empty-function": "warn",
41+
"no-implied-eval": "off",
42+
"@typescript-eslint/no-implied-eval": "error",
4143
"no-invalid-this": "off",
4244
"@typescript-eslint/no-invalid-this": "error",
43-
"no-loss-of-precision": "off",
44-
"@typescript-eslint/no-loss-of-precision": "error",
4545
"no-shadow": "off",
4646
"@typescript-eslint/no-shadow": "error",
4747
"no-throw-literal": "off",
@@ -65,21 +65,15 @@ module.exports = {
6565
},
6666
],
6767
"@typescript-eslint/explicit-member-accessibility": "warn",
68+
"@typescript-eslint/explicit-module-boundary-types": "error",
6869
"@typescript-eslint/no-base-to-string": "error",
6970
"@typescript-eslint/no-confusing-non-null-assertion": "error",
7071
"@typescript-eslint/no-confusing-void-expression": "error",
71-
"@typescript-eslint/no-implicit-any-catch": [
72-
"error",
73-
{
74-
allowExplicitAny: false,
75-
},
76-
],
7772
"@typescript-eslint/no-invalid-void-type": "error",
7873
"@typescript-eslint/no-require-imports": "error",
7974
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "warn",
8075
"@typescript-eslint/no-unnecessary-condition": "warn",
8176
"@typescript-eslint/no-unnecessary-qualifier": "warn",
82-
"@typescript-eslint/no-unnecessary-type-constraint": "warn",
8377
"@typescript-eslint/non-nullable-type-assertion-style": "warn",
8478
"@typescript-eslint/prefer-for-of": "warn",
8579
"@typescript-eslint/prefer-optional-chain": "warn",
@@ -143,15 +137,13 @@ module.exports = {
143137
},
144138
],
145139
"jest/prefer-spy-on": "warn",
146-
"jest/lowercase-name": ["warn", { ignoreTopLevelDescribe: true }],
140+
"jest/prefer-lowercase-title": ["warn", { ignoreTopLevelDescribe: true }],
147141
"@typescript-eslint/naming-convention": "off",
148142
},
149143
},
150144
],
151145
rules: {
152-
"no-loss-of-precision": "error",
153146
"no-template-curly-in-string": "error",
154-
"no-unsafe-optional-chaining": "error",
155147
"array-callback-return": "error",
156148
"consistent-return": "error",
157149
curly: "warn",

0 commit comments

Comments
 (0)