airbnb/javascript
View on GitHub ↗ ★ 148,028 JavaScript
JavaScript Style Guide
82 mentions on Hacker News by 79 people: 27 stories, 55 comments · first 2012-11-05 · latest 2026-01-07
20082026
-
…if you could use airbnb's Javascript and React style guides, that is a pretty good standard IMHO https://github.com/airbnb/javascript/tree/master/react
comment by GiovanniFrigo · 2015-11-16 · in Show HN: A React.js yearly calendar component -
Yes: https://github.com/airbnb/javascript
comment by themichaellai · 2015-10-21 · in Khan Academy's React style guide -
…you do need to find a good config, but the airbnb JS style guide comes with a very, very good one: https://github.com/airbnb/javascript
comment by Lazare · 2015-10-01 · in ESLint: A Next-Generation JavaScript Linter -
…using ESLint. Airbnb has a premade config that does a pretty good job of providing best practices. https://github.com/airbnb/javascript/tree/master/linters Beware, it's going to flag a whole bunch of stuff in you project, but you'll get…
comment by madeofpalk · 2015-09-12 · in Redux Blog Example -
▲ 1
AirBnB React/JSX Style Guidestory by nsomaru · 2015-09-10 · 0 comments
-
…their Javascript style guide to ES6. It's a good read on how to write and structure javascript. https://github.com/airbnb/javascript
comment by burai · 2015-07-24 · in Ask HN: Can you suggest some good JavaScript projects to read and learn? -
Isn't this exact rule already in the guide? https://github.com/airbnb/javascript#13.2
comment by savanaly · 2015-07-03 · in Airbnb JavaScript Style Guide -
It looks like they reserve double quotes for JSX attributes: https://github.com/airbnb/javascript/tree/master/react#quote...
comment by dangle · 2015-07-03 · in Airbnb JavaScript Style Guide -
Regarding using single quotes for strings ( https://github.com/airbnb/javascript#6.1 ), I found it interesting that it's one of the rare sections where there's no rationale offered. I guess it's just a stylistic choice in the end, but when…
comment by elisee · 2015-07-03 · in Airbnb JavaScript Style Guide -
ES5 guide - https://github.com/airbnb/javascript/blob/master/es5
comment by manojlds · 2015-07-03 · in Airbnb JavaScript Style Guide -
The best part of this guide is that they included a eslint and jslint rules file. https://github.com/airbnb/javascript/tree/master/linters My team adopted this style guide and was easily able to add it as a eslint step to our existing gulp…
comment by brwnll · 2015-07-03 · in Airbnb JavaScript Style Guide -
Did you even read it? They don't use the meme 'symbols' but clearly mention 'dynamic property names'. https://github.com/airbnb/javascript#3.4
comment by anustart666 · 2015-07-03 · in Airbnb JavaScript Style Guide -
…safe [1][2] is news to me - it feels like they put in air bags and removed the seat belts. [1]: https://github.com/airbnb/javascript#14.1 [2]: http://es-discourse.com/t/why-typeof-is-no-longer-safe/15
comment by svieira · 2015-07-03 · in Airbnb JavaScript Style Guide -
There is also a link on the page to browser compat style guide of es5 https://github.com/airbnb/javascript/tree/master/es5
comment by ewalk153 · 2015-07-03 · in Airbnb JavaScript Style Guide -
▲ 303
Airbnb JavaScript Style Guidestory by webnanners · 2015-07-03 · 150 comments
-
▲ 2
Airbnb ES6 Styleguidestory by codecurve · 2015-06-05 · 0 comments
-
I assume this is a story about their strict JS style guide? https://github.com/airbnb/javascript
comment by xbryanx · 2015-05-13 · in Santa Monica council votes 7-0 to crack down on Airbnb -
▲ 1
Airbnb JavaScript Style Guide() with ES6/ES2015story by jitl · 2015-04-29 · 0 comments
-
▲ 4
JavaScript Style Guide by Airbnbstory by volent · 2015-04-04 · 0 comments
-
▲ 5
Airbnb JavaScript Style Guide – A Mostly Reasonable Approach to JavaScriptstory by alexcasalboni · 2015-03-27 · 0 comments
-
▲ 3
Airbnb JavaScript Style Guidestory by NicoJuicy · 2014-10-15 · 0 comments
-
Is this similar to https://github.com/airbnb/javascript ?
comment by progx · 2014-08-19 · in A JavaScript Quality Guide -
▲ 1
Handy JavaScript Guidestory by shamsulbuddy · 2014-05-29 · 0 comments
-
…to run. If you rely on the return value use (function(){})(); or (function(){}()); (more on this: https://github.com/airbnb/javascript/issues/21 )
comment by _harry · 2014-05-08 · in How to: code JavaScript using Twitter bootstrap best practices -
There's a good discussion over here: https://github.com/airbnb/javascript/issues/44
comment by cocoflunchy · 2014-05-05 · in How to: code JavaScript using Twitter bootstrap best practices -
▲ 1
Why does JavaScript need a style guide?story by dgellow · 2014-03-23 · 0 comments
-
…JS resources: http://eloquentjavascript.net/ http://shichuan.github.io/javascript-patterns/ https://github.com/airbnb/javascript
comment by meritt · 2014-01-17 · in JavaScript: The Right Way -
▲ 4
AirBNB JavaScript Style Guidestory by aram · 2013-11-17 · 0 comments
-
▲ 3
Why does JavaScript need a style guide?story by jaseemabid · 2013-11-11 · 0 comments
-
▲ 50
Ruining the diversity of JavaScript community with a coding style guidestory by zdne · 2013-11-11 · 26 comments
-
▲ 7
Airbnb's JavaScript style guidestory by pawelwentpawel · 2013-01-12 · 0 comments
-
▲ 27
Airbnb JavaScript Style Guidestory by ClifReeder · 2012-11-05 · 3 comments