Skip to content

Commit 41f573c

Browse files
fix(deps): update next to v15.4.5 (#4745)
* fix(deps): update next to v15.4.5 * fix typecheck * fix lint * fix lint --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dimitri POSTOLOV <[email protected]>
1 parent 26b1281 commit 41f573c

File tree

4 files changed

+228
-230
lines changed

4 files changed

+228
-230
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"lightningcss": "1.30.1",
3838
"esbuild": "0.25.8",
3939
"vite": "6.3.5",
40-
"next": "15.3.4"
40+
"next": "15.4.5"
4141
},
4242
"patchedDependencies": {
4343
"[email protected]": "patches/esbuild-plugin-svgr.patch",

packages/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dependencies": {
1010
"@eslint/compat": "1.3.1",
1111
"@eslint/js": "9.30.1",
12-
"@next/eslint-plugin-next": "15.3.4",
12+
"@next/eslint-plugin-next": "15.4.5",
1313
"eslint-config-prettier": "10.1.5",
1414
"eslint-plugin-de-morgan": "1.3.1",
1515
"eslint-plugin-import-x": "4.16.1",

packages/eslint-config/src/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import path from 'node:path'
22
import { includeIgnoreFile } from '@eslint/compat'
33
import js from '@eslint/js'
4-
// @ts-expect-error -- no types
54
import eslintPluginNext from '@next/eslint-plugin-next'
5+
import type { Linter } from 'eslint'
66
// import type { Linter } from 'eslint'
77
import eslintConfigPrettier from 'eslint-config-prettier'
88
import eslintPluginDeMorgan from 'eslint-plugin-de-morgan'
@@ -144,8 +144,9 @@ const config: Config = tseslint.config(
144144
],
145145
rules: {
146146
...eslintPluginReactHooks.configs.recommended.rules,
147-
...eslintPluginNext.configs.recommended.rules,
148-
...eslintPluginNext.configs['core-web-vitals'].rules,
147+
...(eslintPluginNext.configs.recommended.rules as Linter.RulesRecord),
148+
...(eslintPluginNext.configs['core-web-vitals']
149+
.rules as Linter.RulesRecord),
149150
'react/prop-types': 'off',
150151
'react/no-unknown-property': ['error', { ignore: ['jsx'] }],
151152
'react-hooks/exhaustive-deps': 'error',

0 commit comments

Comments
 (0)