Skip to content

Commit 0fba9b0

Browse files
author
Tian Feng
authored
deps: Bump packages (#29)
1 parent a59639e commit 0fba9b0

File tree

4 files changed

+1104
-1696
lines changed

4 files changed

+1104
-1696
lines changed

eslint.config.js

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,20 @@ module.exports = ts.config(
77
js.configs.recommended,
88
...ts.configs.recommended,
99
prettier,
10-
{
11-
plugins: {
12-
jest: jest,
13-
},
14-
rules: {
15-
'no-undef': 'warn',
16-
'@typescript-eslint/no-var-requires': 'off',
17-
},
18-
},
1910
{
2011
ignores: ['lib/**'],
2112
},
2213
{
23-
files: ['*.js'],
14+
files: ['**/*.*js', '**/*.*ts'],
2415
rules: {
2516
'@typescript-eslint/no-var-requires': 'off',
17+
'@typescript-eslint/no-require-imports': 'warn',
2618
},
2719
},
20+
{
21+
files: ['tests/**/*.*js', 'tests/**/*.*ts'],
22+
...jest.configs['flat/recommended'],
23+
},
2824
{
2925
languageOptions: {
3026
globals: {
@@ -33,6 +29,7 @@ module.exports = ts.config(
3329
exports: true,
3430
module: true,
3531
require: true,
32+
process: true,
3633
},
3734
},
3835
},

0 commit comments

Comments
 (0)