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

[breaking][autofix] stylus/indentation rule auto fix removes lines when using multi line properties #17

Closed
Cactusbone opened this issue Dec 8, 2022 · 1 comment · Fixed by #23
Labels
bug Something isn't working

Comments

@Cactusbone
Copy link

Cactusbone commented Dec 8, 2022

when using --fix with stylus/indentation rule enabled, some lines are removed from stylus files.

example from https://stackoverflow.com/a/48514878/422995

div
    box-shadow \
    0 0 0 black \
    1 0 0 black \
    0 0 1 black
    color: white

becomes

div
    box-shadow \
    color: white

with 3 lines being removed

@Cactusbone Cactusbone changed the title [breaking] stylus/indentation rule auto fix removes lines when using multi line properties [breaking][autofix] stylus/indentation rule auto fix removes lines when using multi line properties Dec 12, 2022
@ota-meshi ota-meshi added the bug Something isn't working label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants