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
feat(comments): implements control directives through comments (#18)
* feat(comments): implements control directives through comments
* Polyfill for Object.values and replace Array.prototype.includes by Array.prototype.indexOf
* Solve Eslint style errors
Copy file name to clipboardExpand all lines: README.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,3 +90,34 @@ In this case, it would:
90
90
* remove a rule with the exact selector `.hello`
91
91
* remove any rule that contains the `.world` class.
92
92
93
+
#### Control directives
94
+
95
+
You can ignore certain rules or certain block of rules to avoid them being removed, even if they match the criteria, adding comments with control directives. These comments will be removed from the final code.
0 commit comments