Skip to content

Commit d624c32

Browse files
build(eslint): fix deprecated error in eslint.config.mts
``` 14:3 error `includeIgnoreFile` is deprecated. Use the `includeIgnoreFile()` function exported by `@eslint/config-helpers` instead (also available at `eslint/config`) @typescript-eslint/no-deprecated ```
1 parent 859c22c commit d624c32

3 files changed

Lines changed: 19 additions & 4 deletions

File tree

eslint.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { fileURLToPath } from 'node:url';
22

3-
import { includeIgnoreFile } from '@eslint/compat';
3+
import { includeIgnoreFile } from '@eslint/config-helpers';
44
import eslint from '@eslint/js';
55
import { defineConfig } from 'eslint/config';
66
import prettier from 'eslint-plugin-prettier';

package-lock.json

Lines changed: 17 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"@commitlint/cli": "21.0.0",
5050
"@commitlint/config-conventional": "21.0.0",
5151
"@eslint/compat": "2.1.0",
52+
"@eslint/config-helpers": "0.6.0",
5253
"@eslint/js": "10.0.1",
5354
"@types/node": "25.6.2",
5455
"@types/react": "19.2.14",

0 commit comments

Comments
 (0)