Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import globals from 'globals';
import eslint from '@eslint/js';
import {defineConfig} from 'eslint/config'
import tsEslint from 'typescript-eslint';

const globalIgnores = [
Expand Down Expand Up @@ -35,9 +36,10 @@ export const typescriptRules = {
'no-async-promise-executor': 'off',
'no-case-declarations': 'off',
'no-prototype-builtins': 'off',
'preserve-caught-error': 'off',
}

export default [
export default defineConfig([
{ ignores: globalIgnores },
{
...eslint.configs.recommended,
Expand Down Expand Up @@ -73,4 +75,4 @@ export default [
rules: typescriptRules
},
),
]
])
Loading
Loading