You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/no-unused-selector.md
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,12 +88,14 @@ This is a limitation of this rule. Without this limitation, the root element can
88
88
```json
89
89
{
90
90
"vue-scoped-css/no-unused-selector": ["error", {
91
-
"ignoreBEMModifier": false
91
+
"ignoreBEMModifier": false,
92
+
"captureModifiersFromDoc": []
92
93
}]
93
94
}
94
95
```
95
96
96
97
-`ignoreBEMModifier` ... Set `true` if you want to ignore the `BEM` modifier. Default is false.
98
+
-`captureModifiersFromDoc` ... Specifies the regexp that extracts the class name from the documentation in the comments. Even if there is no matching element, no error is reported if the document of a class name exists in the comments.
97
99
98
100
### `"ignoreBEMModifier": true`
99
101
@@ -111,13 +113,49 @@ This is a limitation of this rule. Without this limitation, the root element can
-`ignoreBEMModifier` ... Set `true` if you want to ignore the `BEM` modifier. Default is false.
63
+
-`captureModifiersFromDoc` ... Specifies the regexp that extracts the class name from the documentation in the comments. Even if there is no matching element, no error is reported if the document of a class name exists in the comments.
0 commit comments