styled-components / stylelint-processor-styled-components

Lint your styled components with stylelint!
https://styled-components.com
MIT License
656 stars 61 forks source link

Add ?? support to default parser plugins #284

Closed ProdigySim closed 4 years ago

ProdigySim commented 4 years ago

I had to add this to my proejct's stylelint config to get my stylelint working after adopting nullish coalescing in my codebase.

Now that Nullish Coalesce is stage 3, and it's enabled by default in projects like Typescript, this might be a useful default to add. Since optional chaining support is already in, this shouldn't be a too radical change. Just a proposal!

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 3bf84292d037c5684b7ab7f2ad71a7c904fe90ca on ProdigySim:patch-1 into 5bd0505a36df73b2bd568c8eec14b9f4b0a9ada0 on styled-components:master.

chinesedfan commented 4 years ago

Closed in favor of #295 and 1.10.0 has been published.