-
Notifications
You must be signed in to change notification settings - Fork 61
styled-components with stylelint & babel-proposal-optional-chaining #183
Comments
@chrishelgert According to src/parsers/babylon-parser.js, I think @emilgoldsmith If it doesn't introduce too much extra burden, we can simply add |
I think it would be great it the users could extend the configuration for the parser 👍 |
@chinesedfan both sound good to me. The first one is of course a quicker fix, but if @chrishelgert or someone else wants to expose a config option for additional parser options that would be awesome. |
@emilgoldsmith it would be great if all plugins from an maybe i could try to implement that |
I am trying to use styled-components with stylelint and babel-proposal-optional-chaining.
As soon as a styled-components uses optional-chaining, stylelint will skip the whole file.
Will not be linted:
Will be linted:
Demo Test:
see also: https://spectrum.chat/?t=ff611509-9b98-4601-bfae-bc210675a069
The text was updated successfully, but these errors were encountered: