We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
svelte/no-inner-declarations
1 parent 85a055a commit a6b19c0Copy full SHA for a6b19c0
package.json
@@ -23,7 +23,7 @@
23
"@typescript-eslint/eslint-plugin": "^7.18.0",
24
"@typescript-eslint/parser": "^7.18.0",
25
"env-cmd": "^10.1.0",
26
- "eslint": "^9.12.0",
+ "eslint": "^9.16.0",
27
"eslint-config-prettier": "^9.1.0",
28
"eslint-formatter-friendly": "^7.0.0",
29
"eslint-plugin-eslint-plugin": "^6.2.0",
packages/eslint-plugin-svelte/src/rules/no-inner-declarations.ts
@@ -10,6 +10,7 @@ const coreRule = getCoreRule('no-inner-declarations');
10
11
export default createRule('no-inner-declarations', {
12
meta: {
13
+ ...coreRule.meta,
14
docs: {
15
description: 'disallow variable or `function` declarations in nested blocks',
16
category: 'Extension Rules',
0 commit comments