jshint/jshint — Issue #323: Inline block indenting errors
Author: BryanDonovan
Created: 2011-10-31 16:10:48+00:00
State: open

If I have these settings:

```
{
"white" : true,
"indent" : 4
}

```
... and this code:

```
var err = null;
var cb = function () {};
if (err) { cb(err); return; }
```
... I get these errors:

```
inline_block.js: line 3, col 12, Expected 'cb' to have an indentation at 5 instead at 12.
inline_block.js: line 3, col 21, Expected 'return' to have an indentation at 5 instead at 21.
inline_block.js: line 3, col 29, Expected '}' to have an indentation at 1 instead at 29.

```

Is this expected behavior? It seems like I should be able to have an inline block like this without it expecting it to be multiple lines.