diff --git a/package.json b/package.json index aa42ba685..2a5246e90 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/eslint-plugin-svelte/src/rules/no-inner-declarations.ts b/packages/eslint-plugin-svelte/src/rules/no-inner-declarations.ts index 568b3faf3..42e5d469a 100644 --- a/packages/eslint-plugin-svelte/src/rules/no-inner-declarations.ts +++ b/packages/eslint-plugin-svelte/src/rules/no-inner-declarations.ts @@ -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',