standard / semistandard

:icecream: All the goodness of `standard/standard` with semicolons sprinkled on top.
MIT License
1.41k stars 123 forks source link

"Missing space before function parameter" Error #90

Closed t-moe closed 8 years ago

t-moe commented 8 years ago

I have the following code:

var o = {
  get foo() {
    return 1;
  }
};
console.log(o);

running semistandard -F on it, gives me:

semistandard: Semicolons For All! (https://github.com/Flet/semistandard) /home/timo/FluentFlow/testStandard.js:2:10: Missing space before function parentheses.

That's ok. But if I add that missing space, it will be removed again by the "format option" and the error stays the same.

t-moe commented 8 years ago

Probably related to #47.

Flet commented 8 years ago

The formatting is not quite ready for prime time. semistandard-format is the underlying package, which just adds semicolons to the output of https://github.com/maxogden/standard-format. I believe there is an issue opened for this over there. Feel free to contribute to make standard-format better! :)