We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e18648 commit bb11665Copy full SHA for bb11665
docs-svelte-kit/src/lib/eslint/scripts/linter.js
@@ -73,9 +73,13 @@ for (const rule of pluginRules) {
73
const category = rule.meta.docs.category
74
categories.find((c) => c.title === category).rules.push(data)
75
76
- // if (rule.meta.docs.recommended) {
77
- DEFAULT_RULES_CONFIG[rule.meta.docs.ruleId] = "error"
78
- // }
+ if (
+ rule.meta.docs.ruleId !==
+ "svelte/no-export-load-in-svelte-module-in-kit-pages" &&
79
+ rule.meta.docs.ruleId !== "svelte/valid-prop-names-in-kit-pages"
80
+ ) {
81
+ DEFAULT_RULES_CONFIG[rule.meta.docs.ruleId] = "error"
82
+ }
83
}
84
85
for (const [ruleId, rule] of linter.getRules()) {
0 commit comments