HTML editor linting is aggressive for HTML 5

I’ll continue on this thread but the html linter is also aggressive of wanting double quotes around attribute values.

The value of attribute [ binding-info ] must be in double quotes.

I can understand enforcing lack of quotes or mismatched single and double quotes but saying usage of single quotes is an error seems more like enforcement of a style choice than preventing errors.

I have some small chunks of json in data-* attributes that are a lot easier to read when using single-quoted html attribute values. It looks like the corresponding linter rule is attr-value-double-quotes.

+1 for a minor thing and thanks for your awesome work!

1 Like