Commit Graph

436 Commits

Author SHA1 Message Date
Jake Teton-Landis
f33e85e62d Merge pull request #356 from bhamodi/patch-1
Update .eslintrc: correct spacing of comment on line 56
2015-05-28 00:00:00 -07:00
Baraa Hamodi
a6796f0098 Update .eslintrc
Just a consistency thing. :)
2015-05-27 23:58:29 -07:00
Jake Teton-Landis
12e0bd463d Merge pull request #350 from justjake/jake/eslint-sharable-conf
Create package eslint-config-airbnb
2015-05-26 11:03:30 -07:00
Jake Teton-Landis
c3a94c15fd add keyword "eslintconfig" to eslint-config-airbnb 2015-05-23 18:56:39 -07:00
Jake Teton-Landis
1676f2b1dc bump eslint-config-airbnb version to 0.0.2 2015-05-22 11:06:37 -07:00
Jake Teton-Landis
f2da99e058 manually load commented JSON 2015-05-22 11:06:16 -07:00
Jake Teton-Landis
6b40c838fb create package eslint-config-airbnb 2015-05-22 10:38:21 -07:00
Josh Perez
5cbb666427 Merge pull request #347 from airbnb/goatslacker-patch-1
Amend the arrow function rules
2015-05-18 14:40:50 -07:00
Josh Perez
cbcb09f990 Update README.md 2015-05-18 14:40:41 -07:00
Jake Teton-Landis
7ac20d6249 Merge pull request #346 from justjake/jake/eslint-react
add eslint rules for JSX style from issue #345
2015-05-18 14:21:08 -07:00
Josh Perez
a5704787e4 Amend the arrow function rules
This allows one to omit parens whenever it fits into a single line, which is similar to our if statement rules.
2015-05-18 14:09:46 -07:00
Jake Teton-Landis
f87ddc012f add README describing eslintrc requirements 2015-05-18 12:02:48 -07:00
Jake Teton-Landis
20c4d37b33 add eslint rules for JSX style from issue #345 2015-05-18 11:55:36 -07:00
Harrison Shoff
874fb879a8 Merge pull request #343 from airbnb/rule-links
add links to individual rules
2015-05-13 18:01:47 -07:00
Harrison Shoff
43a5f84462 [links] id => name 2015-05-13 18:01:20 -07:00
Harrison Shoff
535c4f73d0 add links to individual rules 2015-05-13 17:49:26 -07:00
Josh Perez
c77a7f19cd Merge pull request #341 from billabong/spacing_format_fix
Fixed spacing on code block under Comments.
2015-05-12 12:09:18 -07:00
Michael Deol
8bc1c17585 Fixed spacing on code block under Comments.
Even though github was rendering this correctly; I did this to fix tools
like https://github.com/suan/vim-instant-markdown from breaking syntax.
2015-05-12 11:57:40 -07:00
Josh Perez
2c9702c4f9 Merge pull request #340 from billabong/add_orginization
Addition of Billabong Orginization
2015-05-12 11:53:26 -07:00
Michael Deol
27cc9a008c Addition of Billabong Orginization 2015-05-12 11:37:09 -07:00
Harrison Shoff
b201d2b3b9 Merge pull request #337 from airbnb/clarify-conditionals
[conditionals] clarify conditionals. fixes #336
2015-05-07 12:15:00 -07:00
Harrison Shoff
871a798a0d [conditionals] update wording, es5 version 2015-05-07 11:58:16 -07:00
Harrison Shoff
4295803576 [conditionals] use if statement 2015-05-07 11:44:19 -07:00
Harrison Shoff
36ddb36e21 [conditionals] clarify conditionals. fixes #336 2015-05-07 11:35:42 -07:00
Harrison Shoff
df5029b5a5 [pkg] bump version 2015-05-06 15:49:50 -07:00
Josh Perez
e96a957860 Merge pull request #333 from tomekwi/patch-6
Add missing semicolon
2015-05-05 01:21:10 -07:00
Tomek Wiszniewski
a9319691e4 Fix typo 2015-05-05 09:51:00 +02:00
Alvin Sng
9563e1a418 Merge pull request #331 from airbnb/react_style
React/JSX Style Guide
2015-04-30 13:10:00 -07:00
Alvin Sng
2595cb6724 removed alpha sort, changed jsx exten to js, added method prefix rule, added camelCase for props 2015-04-30 13:08:58 -07:00
Alvin Sng
3764337df2 React/JSX Style Guide 2015-04-29 15:29:51 -07:00
Harrison Shoff
716e8c5b9d Merge pull request #330 from airbnb/fix-example
[comments] fix example
2015-04-29 12:26:50 -07:00
Harrison Shoff
0ffbdd3692 [comments] fix example 2015-04-29 12:26:14 -07:00
Harrison Shoff
261f3bbbc5 Merge pull request #329 from airbnb/es6-trailing-commas
es6 additional trailing commas
2015-04-29 11:53:44 -07:00
Harrison Shoff
2521d46683 [readme] update additional trailing commas, examples 2015-04-29 11:49:28 -07:00
Harrison Shoff
07bba234a0 [readme] update additional trailing commas, examples 2015-04-29 11:48:52 -07:00
Josh Perez
fc248e66ee Merge pull request #328 from airbnb/es6-trailing-commas
[commas] additional trailing commas good in es6. fixes #323
2015-04-29 10:49:22 -07:00
Harrison Shoff
7ade95434c [commas] fix bad git diff example 2015-04-29 10:42:03 -07:00
Harrison Shoff
a2034b0f6c [commas] additional trailing commas good in es6. fixes #323 2015-04-29 10:39:01 -07:00
Josh Perez
120a122c29 Merge pull request #327 from airbnb/fix-wording
[intro] our es5 guide is still up to date
2015-04-29 10:22:59 -07:00
Harrison Shoff
a41c1fab68 [intro] our es5 guide is still up to date 2015-04-29 10:07:11 -07:00
Josh Perez
1df31607a7 Merge pull request #276 from airbnb/es6
A mostly reasonable ES6 style guide
2015-04-29 01:12:41 -07:00
Josh Perez
cc460132cc Learn you some ES6 2015-04-28 21:31:58 -07:00
Josh Perez
455529c234 Updates es5 guide with latest 2015-04-28 21:28:40 -07:00
Josh Perez
cb47b478c7 Amend grammar for default parameters 2015-04-28 21:28:05 -07:00
Herrington Darkholme
d0028724ea add semicolons 2015-04-28 21:28:05 -07:00
Matias Singers
e5006931f1 Use modules in naming conventions example
Following the rule from further up: "Always use modules (import/export) over a non-standard module system."
2015-04-28 21:28:05 -07:00
Tomek Wiszniewski
0cca5e21fc Fix hoisting examples
Hoisting only happens to `var`. As kangax describes in [Why `typeof` is no longer “safe”](http://es-discourse.com/t/why-typeof-is-no-longer-safe/15/3).

Also, I wonder if we need the whole section, since you recommend to [avoid using `var` altogether](https://github.com/airbnb/javascript/blob/b492/README.md#references).
2015-04-28 21:28:05 -07:00
dsc
ee176044c3 Rename two let keywords to const 2015-04-28 21:28:05 -07:00
Tomek Wiszniewski
875d2ad05e Add esnext to the jsHint configuration
This way we'll allow ES6 syntax.
2015-04-28 21:28:05 -07:00
Harrison Shoff
f7321b303d [modules] fix invalid syntax in bad example. fixes #287 2015-04-28 21:28:05 -07:00