Skip to content

Commit 6c891fc

Browse files
committed
Preserve excludeFromConfig check
1 parent 844b02c commit 6c891fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/utils/categories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ for (const categoryId of categoryIds) {
2626
for (const rule of rules) {
2727
const ruleCategories = rule.meta.docs?.categories
2828

29-
if (ruleCategories?.includes(categoryId)) {
29+
if (ruleCategories?.includes(categoryId) && rule.meta.docs?.excludeFromConfig !== true) {
3030
categoriesConfig[categoryId].rules?.push(rule)
3131
}
3232
}

0 commit comments

Comments
 (0)