goatslacker/jshint-autofix — Issue #3: Incorrect space insertion
Author: BryanDonovan
Created: 2011-10-30 23:07:02+00:00
State: open

I found a strange issue where if I have a line like the below with mixed spaces and tabs at the beginning of the line, it adds a space between the 'r' and 'e' in redis, adds a semicolon at the end of the line, adds an extra space before 'response', and doesn't remove the tab:

```
redis_client.set(key, JSON.stringify(doc), function(redis_err, response) {
```

... is changed to:

```
redis_client.set(key, JSON.stringify(doc), function(r edis_err, response) {;
```

Great tool so far though, it's coming in handy.