jshint/jshint — Issue #430: wrong character reported when using tabs
Author: ralfstx
Created: 2012-01-29 23:23:25+00:00
State: open

Example:

var a = x == null ? null : 1;

-> Use '===' to compare with 'null'. line: 1, **char: 11**

Same line with a leading tab:

\tvar a = x == null ? null : 1;

-> Use '===' to compare with 'null'. line: 1, **char: 15**

It seems that one tab accounts for 4 characters. I'm running jshint on rhino.