We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd9e4c6 commit bb5b0bbCopy full SHA for bb5b0bb
docs-svelte-kit/src/lib/eslint/scripts/linter.js
@@ -93,7 +93,7 @@ for (const [ruleId, rule] of linter.getRules()) {
93
const type = rule.meta.type
94
categories.find((c) => c.type === type).rules.push(data)
95
96
- if (rule.meta.docs.recommended) {
+ if (rule.meta.docs.recommended && ruleId !== "no-inner-declarations") {
97
DEFAULT_RULES_CONFIG[ruleId] = "error"
98
}
99
0 commit comments