Skip to content

Commit 549e1d0

Browse files
authored
Merge pull request #151 from Wintus/fix-eslint-config-deprecation
refactor: replace deprecated tseslint.config with defineConfig
2 parents afb2e1a + 51b41b1 commit 549e1d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eslint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
import { defineConfig } from 'eslint/config';
12
import js from '@eslint/js';
23
import globals from 'globals';
34
import reactHooks from 'eslint-plugin-react-hooks';
45
import reactRefresh from 'eslint-plugin-react-refresh';
56
import tseslint from 'typescript-eslint';
67

7-
export default tseslint.config(
8+
export default defineConfig(
89
{ ignores: ['dist'] },
910
{
1011
extends: [js.configs.recommended, ...tseslint.configs.recommended],

0 commit comments

Comments
 (0)