Skip to content

Commit a6b19c0

Browse files
committed
fix: crash with eslint v9.16.0 in svelte/no-inner-declarations
1 parent 85a055a commit a6b19c0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@typescript-eslint/eslint-plugin": "^7.18.0",
2424
"@typescript-eslint/parser": "^7.18.0",
2525
"env-cmd": "^10.1.0",
26-
"eslint": "^9.12.0",
26+
"eslint": "^9.16.0",
2727
"eslint-config-prettier": "^9.1.0",
2828
"eslint-formatter-friendly": "^7.0.0",
2929
"eslint-plugin-eslint-plugin": "^6.2.0",

packages/eslint-plugin-svelte/src/rules/no-inner-declarations.ts

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const coreRule = getCoreRule('no-inner-declarations');
1010

1111
export default createRule('no-inner-declarations', {
1212
meta: {
13+
...coreRule.meta,
1314
docs: {
1415
description: 'disallow variable or `function` declarations in nested blocks',
1516
category: 'Extension Rules',

0 commit comments

Comments
 (0)