mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 13:13:37 +08:00
In some cases the formatter won't complain about the multiline cases, but this rule won't pick it up correctly erroring as the `.exec` returns `null`, fixed with a check. Also update the RegEx to support multiline CSS and parse them accordingly. Bug: none Change-Id: Ie961e66fce1ff517605d98a14c71086612e61692 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5891590 Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Auto-Submit: Nikolay Vitkov <nvitkov@chromium.org> Commit-Queue: Jack Franklin <jacktfranklin@chromium.org>