We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c1bdd4 commit 88c71b4Copy full SHA for 88c71b4
eslint.config.js
@@ -7,24 +7,20 @@ module.exports = ts.config(
7
js.configs.recommended,
8
...ts.configs.recommended,
9
prettier,
10
- {
11
- plugins: {
12
- jest: jest,
13
- },
14
- rules: {
15
- 'no-undef': 'off',
16
17
18
{
19
ignores: ['lib/**'],
20
},
21
22
files: ['**/*.js', '**/*.ts'],
23
rules: {
24
- '@typescript-eslint/no-explicit-any': 'warn',
25
'@typescript-eslint/no-var-requires': 'off',
+ '@typescript-eslint/no-explicit-any': 'warn',
26
27
+ {
+ files: ['tests/**/*.spec.js', 'tests/**/*.spec.ts'],
+ ...jest.configs['flat/recommended'],
+ },
28
29
languageOptions: {
30
globals: {
@@ -33,6 +29,8 @@ module.exports = ts.config(
33
exports: true,
34
module: true,
35
31
require: true,
32
+ process: true,
+ NodeJS: true,
36
37
38
0 commit comments