Skip to content

Commit

Permalink
Add "empty functions" to commonly overlooked edge cases
Browse files Browse the repository at this point in the history
A follow-up to #5972 and #5982.
  • Loading branch information
mattxwang committed Apr 18, 2022
1 parent 776e36b commit d802abe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/developer-guide/rules.md
Expand Up @@ -130,6 +130,7 @@ You should ask yourself how does your rule handle:
- variables (e.g. `var(--custom-property)`)?
- CSS strings (e.g. `content: "anything goes";`)?
- CSS comments (e.g. `/* anything goes */`)?
- empty functions (e.g. `var()`)?
- `url()` functions, including data URIs (e.g. `url(anything/goes.jpg)`)?
- vendor prefixes (e.g. `@-webkit-keyframes name {}`)?
- case sensitivity (e.g. `@KEYFRAMES name {}`)?
Expand Down

0 comments on commit d802abe

Please sign in to comment.