Hacker News new | ask | show | jobs
by clessg 3669 days ago
> the most obnoxious style-guide of all

What do you mean? I've heard people say that a couple times but they never really elaborated. Do people love their semicolons that much? Are people offended that it's called "standard"? Or something else?

> They are specifically working on it according to this React.js Conf talk

This is very exciting. I prefer React over Vue, but one of the things I love about Vue is vue-cli[0]. Something similar, if not better, for React, would be greatly appreciated.

[0] https://vuejs.org/2015/12/28/vue-cli/

2 comments

Tbf I just looked over 'standard' and it's improved a ton since it initially came out. Bar one minor rule, the only rule I still object to is the semicolon one, which I'm obvs not going to get into a discussion about, because I value my sanity. I'll edit my above comment if I still can :)
There also exists semistandard, just for you :)
Which this tool doesn't integrate with...? Ultimately, that's always the problem with these "get-started-quickly" tools.
Semis aside, I take issue with the name and the badge[0], making it seem like _the_ style of writing JS instead of just _a_ style. The contents of the project are fine, but this aspect is misleading for people new to JS.

[0]: https://camo.githubusercontent.com/e06d9d72eecca61c1ba39fdf1...

using the name standard is just harmful when your linter doesn't follow a rule (yes semicolons) that 90% of the codebases use.