Skip to content

Commit 23c5b56

Browse files
committed
chore(deps): update dependency @types/eslint to v9
1 parent e854b0f commit 23c5b56

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

configs/node.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** @import { TSESLint } from '@typescript-eslint/utils' */
12
import nPlugin from 'eslint-plugin-n';
23
import nodeSecurity from 'eslint-plugin-security-node';
34
import globals from 'globals';
@@ -7,7 +8,8 @@ import tseslint from 'typescript-eslint';
78
export function prepareConfig() {
89
return tseslint.config(
910
...nPlugin.configs['flat/mixed-esm-and-cjs'].map(c => ({
10-
...c,
11+
// cast to be removed after https://github.com/typescript-eslint/typescript-eslint/issues/9724
12+
.../** @type {TSESLint.FlatConfig.Config} */(c),
1113
files: /** @type {string[]} */(c.files).flatMap(f => [f, f.replace('.js', '.ts')])
1214
})),
1315
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"typescript-eslint": "~8.0.0"
3434
},
3535
"devDependencies": {
36-
"@types/eslint": "^8.56.8",
36+
"@types/eslint": "^9.6.0",
3737
"@types/eslint__js": "^8.42.3",
3838
"@types/jest": "^29.5.12",
3939
"@types/node": "^20.14.2",

yarn.lock

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -802,14 +802,6 @@
802802
"@types/estree" "*"
803803
"@types/json-schema" "*"
804804

805-
"@types/eslint@^8.56.8":
806-
version "8.56.11"
807-
resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.11.tgz#e2ff61510a3b9454b3329fe7731e3b4c6f780041"
808-
integrity sha512-sVBpJMf7UPo/wGecYOpk2aQya2VUGeHhe38WG7/mN5FufNSubf5VT9Uh9Uyp8/eLJpu1/tuhJ/qTo4mhSB4V4Q==
809-
dependencies:
810-
"@types/estree" "*"
811-
"@types/json-schema" "*"
812-
813805
"@types/eslint__js@^8.42.3":
814806
version "8.42.3"
815807
resolved "https://registry.yarnpkg.com/@types/eslint__js/-/eslint__js-8.42.3.tgz#d1fa13e5c1be63a10b4e3afe992779f81c1179a0"

0 commit comments

Comments
 (0)