Skip to content

Commit 5743e3f

Browse files
committed
ts-node to tsx
1 parent c2f7915 commit 5743e3f

6 files changed

+576
-925
lines changed

.eslintrc.js

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module.exports = {
22
parser: '@typescript-eslint/parser',
33
parserOptions: {
4-
project: ['./tsconfig.src.json', './tests/tsconfig.test.json'],
4+
project: ['./tsconfig.src.json', './tests/tsconfig.spec.json'],
55
tsconfigRootDir: __dirname,
66
sourceType: 'module',
77
},
8-
plugins: ['@typescript-eslint', 'jest'],
8+
plugins: ['@typescript-eslint'],
99
extends: [
1010
'eslint:recommended',
1111
'plugin:@typescript-eslint/recommended',
@@ -18,6 +18,13 @@ module.exports = {
1818
mongo: true,
1919
},
2020
rules: {
21+
'@typescript-eslint/no-explicit-any': 'off',
22+
'@typescript-eslint/no-unsafe-assignment': 'off',
23+
'@typescript-eslint/no-unsafe-member-access': 'off',
24+
'@typescript-eslint/no-unsafe-return': 'off',
25+
'@typescript-eslint/no-unsafe-call': 'off',
26+
'@typescript-eslint/no-unsafe-return': 'off',
27+
'@typescript-eslint/no-unsafe-argument': 'off',
2128
'@typescript-eslint/no-misused-promises': 'off',
2229
'@typescript-eslint/restrict-template-expressions': 'off',
2330
'@typescript-eslint/no-floating-promises': 'off',
@@ -28,10 +35,5 @@ module.exports = {
2835
ignoreStatic: true,
2936
},
3037
],
31-
'jest/no-disabled-tests': 'warn',
32-
'jest/no-focused-tests': 'error',
33-
'jest/no-identical-title': 'error',
34-
'jest/prefer-to-have-length': 'warn',
35-
'jest/valid-expect': 'error',
3638
},
3739
}

0 commit comments

Comments
 (0)