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.
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.