Open spukst3r opened 6 years ago
I have the following rule in mine pug-lint config:
"validateAttributeSeparator": { "separator": ", ", "multiLineSeparator": ",\n " }
and the following code snippet:
v-chip( close, @input="remove(data.item)", )
With this configuration pug-lint complains about "Invalid attribute separator found", pointing to the line with the last attribute (containing "input"). An option to force the use of dangling commas would be great.
Sounds reasonable to me. +1
I have the following rule in mine pug-lint config:
and the following code snippet:
With this configuration pug-lint complains about "Invalid attribute separator found", pointing to the line with the last attribute (containing "input"). An option to force the use of dangling commas would be great.