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

Need options for disallowTrailingSpaces #168

Open
7iomka opened this issue Sep 2, 2019 · 0 comments
Open

Need options for disallowTrailingSpaces #168

7iomka opened this issue Sep 2, 2019 · 0 comments

Comments

@7iomka
Copy link

7iomka commented Sep 2, 2019

In eslint I have 2 options

skipBlankLines: true,
ignoreComments: true

I need this in pug
Why?
Pug2html convertors convert spaces between inline elements new string with single symbol of space with text convert operator |
Example:
image

With disallowTrailingSpaces rule I need manually to replace every time

| 

with something like = ' '
because in other case I have error:
image

Any help with this?
Same issue with comments, that converted every time with an trailing space.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant