-
Notifications
You must be signed in to change notification settings - Fork 7.6k
JSLint and automatic indentation don't agree with non-default tabSize #7240
Comments
It already has this code - what's your
|
I simulated this with using
but JSLint with indent=2 would like to see it like this:
|
|
I put up a PR - it doesn't solve the indentation issue after |
Could the placement of the var on the next line be a result of #7218? |
It's quite possible. We'll see after it gets fixed. |
I think this indenting is caused by CodeMirror |
@bfrohs can you re-test with latest master? |
@zaggino Fixed, thanks! |
Steps to reproduce
var a = 0, b = 0;
tabSize
to2
,
and pressEnter
Expected results
JSLint should have 0 problems.
Actual results
JSLint reports 1 problem:
The text was updated successfully, but these errors were encountered: