pugjs / pug-lint

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

`requireSpacesInsideAttributeBrackets` should accept any whitespace characters #127

Open audreytoskin opened 7 years ago

audreytoskin commented 7 years ago

I like the requireSpacesInsideAttributeBrackets rule. However, for tags with many attributes or fairly long attribute values, I prefer to break up the complete tag over multiple lines. In such cases, I don't add a space after the parentheses, because there's already other whitespace --- the line breaks and indentation.