My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

What are the JavaScript style guides, if any, which you use personally / at work?

Juanita Sutton's photo
Juanita Sutton
·Nov 11, 2016

Standard JavaScript

41%

Airbnb Style Guide

40%

Others (Specify)

19%

70 votes · Closed

I’ve come to know of two popular style guides:

From what I’ve read, their eslint configs have some strange rules:

  • Feross’ guide recommends no semi-colons
  • Airbnb’s guide is against the recommendation of usage of loops, and prefer higher-order functions like forEach.

What do you think of these style guides.? Do you use any of these, or do you have your own custom style guide that you’ve crafted for use? Sharing your eslint config files in your answers would be super awesome! Thanks! 😃