Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code getting duplicated when auto-formatting. #75

Closed
GollyJer opened this issue Feb 21, 2020 · 1 comment
Closed

Code getting duplicated when auto-formatting. #75

GollyJer opened this issue Feb 21, 2020 · 1 comment
Labels
upstream relates to an upstream package

Comments

@GollyJer
Copy link

GollyJer commented Feb 21, 2020

Hi. I'm using and LOVING this extension with styled-components in React Native. However, I recently ran into an issue with code getting duplicated.

Here's how to reproduce.

  1. Create a styled component containing React Native's Platform.select function.

2020-02-21_12h31_22

  1. Add the styled-components css function to enable syntax coloring.

2020-02-21_12h33_38

  1. Run stylelint's fix all fixable problems.

2020-02-21_12h35_25

Let me know what other details to provide. Thanks!

@GollyJer
Copy link
Author

I just realized this is being handled in stylelint proper.
Closing my comment. For anyone who finds this... check out the situation here. There is now a built in workaround until the parser is fixed.

@adalinesimonian adalinesimonian added the upstream relates to an upstream package label Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream relates to an upstream package
Projects
None yet
Development

No branches or pull requests

2 participants