Skip to content

Commit

Permalink
fix: crash with eslint v9.16.0 in svelte/no-inner-declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Nov 29, 2024
1 parent 85a055a commit a6b19c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"env-cmd": "^10.1.0",
"eslint": "^9.12.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-formatter-friendly": "^7.0.0",
"eslint-plugin-eslint-plugin": "^6.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const coreRule = getCoreRule('no-inner-declarations');

export default createRule('no-inner-declarations', {
meta: {
...coreRule.meta,
docs: {
description: 'disallow variable or `function` declarations in nested blocks',
category: 'Extension Rules',
Expand Down

0 comments on commit a6b19c0

Please sign in to comment.