Skip to content

Commit ebe9ccf

Browse files
committed
chore: bump eslint 9.39.2 => 10.0.3
1 parent 4874b15 commit ebe9ccf

4 files changed

Lines changed: 94 additions & 180 deletions

File tree

‎eslint.config.mjs‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import globals from 'globals';
22
import eslint from '@eslint/js';
3+
import {defineConfig} from 'eslint/config'
34
import tsEslint from 'typescript-eslint';
45

56
const globalIgnores = [
@@ -35,9 +36,10 @@ export const typescriptRules = {
3536
'no-async-promise-executor': 'off',
3637
'no-case-declarations': 'off',
3738
'no-prototype-builtins': 'off',
39+
'preserve-caught-error': 'off',
3840
}
3941

40-
export default [
42+
export default defineConfig([
4143
{ ignores: globalIgnores },
4244
{
4345
...eslint.configs.recommended,
@@ -73,4 +75,4 @@ export default [
7375
rules: typescriptRules
7476
},
7577
),
76-
]
78+
])

0 commit comments

Comments
 (0)