mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-08 04:44:04 +08:00
This CL fixes the fact that the stylelint rule wouldn't deal with: ``` border-bottom: var(--foo) solid var(--color-details-hairline) ``` It does this via a naive regex that splits the border value into its three pieces, and then only lints the final declaration, which is the color. Bug: 1198504 Change-Id: I409adaf8b8777112ce4f3b24f0a6f63bd7435c25 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2823831 Auto-Submit: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Paul Lewis <aerotwist@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>