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: readme.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,12 @@ Default: `true`
70
70
-`RegExp` - Preserve comments where the comment body matches a regular expression.
71
71
-`Function` - Preserve comments for which a function returns `true`. The function is called on each comment, gets the comment body as the first argument, and is expected to return a boolean of whether to preserve the comment.
72
72
73
+
### whitespace
74
+
75
+
Type: `boolean`<br>
76
+
Default: `true`
77
+
78
+
Replace comments with whitespace instead of stripping them entirely.
0 commit comments