Commit 45d9274
authored
Add color rule for JavaScript and JSX syntax (#235)
* Add color rule for JavaScript and JSX syntax
This adds support for colors embedded in strings in the JavaScript and JSX syntaxes. This greatly helps when developing UI using CSS-in-JS systems such as [Stitches](https://stitches.dev) or [Styled Components](https://styled-components.com).
Solves #87.
* Remove dangling commas1 parent b71692e commit 45d9274
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
341 | 353 | | |
342 | 354 | | |
343 | 355 | | |
| |||
0 commit comments