Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix false negatives for css-in-js object notation in color-hex-length (…
…#5106) * Use postcss-value-parser for color-hex-length `style-search` returns false positives when used with `css-in-js` object notation. Continuing on the change made in #5101, this updates `color-hex-length` to switch to using `postcss-value-parser`. Unit tests have also been added to check the `css-in-js` syntax for this rule. * Remove unnecessary return
- Loading branch information
Showing
2 changed files
with
223 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters