Commit a5cfa9b
Disable nesting-selector-no-missing-scoping-root for CSS-in-JS files (#657)
* Initial plan
* Disable nesting-selector-no-missing-scoping-root for .tsx files
The new stylelint version (16.26.1) via stylelint-config-recommended
introduces the nesting-selector-no-missing-scoping-root rule. This rule
doesn't understand CSS-in-JS patterns used by styled-components where &
is valid and refers to the component itself. Disabling this rule for
.tsx files fixes the CI test failures.
Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>
* Add comment explaining nesting-selector-no-missing-scoping-root disable
Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>1 parent 8f75958 commit a5cfa9b
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| |||
0 commit comments