Files
react-native-devtools-frontend/scripts/stylelint_rules
Jack Franklin 075c2fd6fe Fix errors when linting theme colors in border-X properties.
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>
2021-04-13 16:12:48 +00:00
..