File tree Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,6 @@ sidebarDepth: 0
66
77<!-- This file is automatically generated in tools/update-docs-rules-index.js, do not change! -->
88
9- ## Base Rules (Enabling Plugin)
10-
11- Enable this plugin using with:
12-
13- ``` json
14- {
15- "extends" : " plugin:vue-scoped-css/base"
16- }
17- ```
18-
199## Recommended
2010
2111Enforce all the rules in this category with:
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function toDeprecatedRuleRow(rule: Rule) {
3535// -----------------------------------------------------------------------------
3636let rulesTableContent = categories
3737 . map (
38- category =>
38+ category => category . rules . length ?
3939 `
4040## ${ category . title }
4141
@@ -46,15 +46,12 @@ ${category.configDescription}
4646 "extends": "plugin:vue-scoped-css/${ category . categoryId } "
4747}
4848\`\`\`
49- ${
50- category . rules . length
51- ? `
49+
5250| Rule ID | Description | |
5351|:--------|:------------|:---|
5452${ category . rules . map ( toRuleRow ) . join ( "\n" ) }
5553`
56- : ""
57- } `,
54+ : "" ,
5855 )
5956 . join ( "" )
6057
You can’t perform that action at this time.
0 commit comments