Skip to content

Commit 1a61299

Browse files
committed
Update: add use-with-caution category
1 parent 41104b3 commit 1a61299

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/app-state/eslint.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,12 @@ const ruleCategories = (() => {
2424
name: "Priority C: Recommended",
2525
rules: [],
2626
},
27-
"unspecified": {
28-
name: "Unspecified yet",
27+
"use-with-caution": {
28+
name: "Priority D: Use with Caution",
29+
rules: [],
30+
},
31+
"uncategorized": {
32+
name: "Uncategorized",
2933
rules: [],
3034
},
3135
"base": {
@@ -44,7 +48,7 @@ const ruleCategories = (() => {
4448
continue
4549
}
4650
const category = name.startsWith("vue/")
47-
? categoryMap[meta.docs.category] || categoryMap.unspecified
51+
? categoryMap[meta.docs.category] || categoryMap.uncategorized
4852
: categoryMap.core
4953

5054
category.rules.push({

0 commit comments

Comments
 (0)