A Comparison of JavaScript Linting Tools

Here’s a sample with tabstop 2:

function foo() {
  hello();

  if(foo) {
    bar();
  }
}

Here’s a sample with tabstop 4:

function foo() {
    hello();

    if(foo) {
        bar();
    }
}

Here’s a sample with tabstop 8

function foo() {
        hello();

        if(foo) {
                bar();
        }
}

I don’t see the problem.

The second case was extra spaces around an argument name.