forked from stylelint/stylelint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 stylelint#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.
- Loading branch information
Showing
2 changed files
with
225 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