Skip to content

Commit c770f1f

Browse files
committed
Add note about disabling stylelint on empty rules
1 parent 93f639a commit c770f1f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,12 @@ this instance an empty ruleset can be added to ensure it is correctly reset:
229229
</div>
230230
```
231231
```css
232-
/* Empty ruleset required */
232+
/**
233+
* Empty ruleset required.
234+
* Note the disabling of stylelint
235+
*/
236+
237+
/* stylelint-disable-next-line block-no-empty */
233238
.Component {}
234239

235240
.Component-item {

0 commit comments

Comments
 (0)