key-spacing.align
doesn't pay attention to non-whitespace before key
#3267
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
I'll admit my code style is weird, but
key-spacing.align
doesn't actually enforce alignment of values/colons like the documentation states, it enforces the alignment of keys and values/colons.If this is intended, the docs should be updated (and theoretically the error messages changed). But I don't think it is:
these pass:
what it "wants":
eslint 0.24.1,
"key-spacing": { "align" : "colon" }
The text was updated successfully, but these errors were encountered: