pugjs / pug-lint

An unopinionated and configurable linter and style checker for Pug
ISC License
228 stars 51 forks source link

Need options for disallowTrailingSpaces #168

Open 7iomka opened 5 years ago

7iomka commented 5 years ago

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!