Commit Graph

459 Commits

Author SHA1 Message Date
Josh Perez
38d228250c Merge pull request #374 from airbnb/horace/jsx-ext-for-react
Recommend using .jsx extension for React components, rather than .js
2015-06-25 12:02:27 -07:00
Horace Ko
d2792f27cb Recommend using .jsx extension for React components, rather than .js. 2015-06-25 11:54:22 -07:00
Harrison Shoff
128cb7b510 Merge pull request #373 from nkt/patch-1
Added "prefer-const" rule
2015-06-25 11:41:21 -07:00
Nikita Gusakov
b020a431b0 Added "prefer-const" rule
Added new ES6 rule, introduced in eslint 0.23.0
 > This rule is aimed to flag variables that are declared using let keyword, but never modified after initial assignment.
2015-06-25 16:31:27 +03:00
Jake Teton-Landis
a70000b0f0 Merge pull request #372 from 0xCMP/patch-1
Update .eslintrc with other react class properties
2015-06-24 14:28:44 -07:00
Chris Portela
fe42d0bfa3 Made single quotes to double quotes 2015-06-24 16:02:21 -04:00
Chris Portela
e9b59b76a5 Update .eslintrc with other react class properties
In `eslint-plugin-react`'s page on their sorting rules they show the order I showed here. https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-comp.md#rule-options

I noticed because according to the current rules `contextTypes` goes below `render` and I also noticed other methods were missing from the list. Since we're being specific we should also include the other methods and properties that `eslint-plugin-react` handles by default.
2015-06-24 15:51:25 -04:00
Jordan Harband
2626e0ba91 Merge pull request #370 from ManojAMK/ManojAMK-patch-1
Updated JavaScript books list: add Eloquent
2015-06-23 10:11:19 -07:00
Manoj Kumar
26dd043414 Update README.md 2015-06-23 22:13:05 +05:30
Jake Teton-Landis
8599621c0f Merge pull request #357 from arianf/trailing-comma
added trailing comma
2015-06-19 16:01:09 -07:00
Harrison Shoff
7e480c1da3 Merge pull request #365 from tgolen/patch-1
Add Expensify to the list of organizations using this style guide
2015-06-17 20:32:10 +01:00
Tim Golen
25a2430dc6 Add Expensify to the list of organizations using this style guide 2015-06-17 13:30:29 -06:00
Harrison Shoff
a872822618 Merge pull request #352 from sivan/master
Change Chinese Translation to a newer version
2015-06-17 16:37:35 +01:00
Harrison Shoff
c5ed9096f9 Merge pull request #364 from aniss/master
update(README.md): added Airbnb Style .eslintrc link
2015-06-17 07:58:10 -07:00
Aniss Bouraba
1429a20c97 update(README.md): added Airbnb Style .eslintrc link 2015-06-17 12:29:48 +01:00
Josh Perez
2a1f4f4a9f Merge pull request #362 from carterchung/patch-1
Added missing period
2015-06-13 23:08:55 -07:00
Josh Perez
c43415ee30 Merge pull request #363 from carterchung/patch-2
Added bullet/indentation
2015-06-13 23:08:44 -07:00
Carter Chung
a2e235608c Added bullet/indentation
for consistency
2015-06-13 21:56:21 -07:00
Carter Chung
fb45e22b0e Added missing period 2015-06-13 21:54:29 -07:00
Josh Perez
6887c84ad7 Merge pull request #359 from ycavatars/master
add missing componentDidUpdate
2015-06-08 09:17:34 -07:00
ycavatars
7a7bec17f3 add missing componentDidUpdate 2015-06-08 12:56:32 +08:00
Arian Faurtosh
3946480334 added trailing comma 2015-05-31 20:16:39 -07:00
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
Sun Xingfan
2539557e98 Change Chinese Translation to a more official like version
The current Chinese version translated by adamlu is a modified version which as he said change/delete some rules from the original and it's base on the version 2 years ago. I transalte a new version base on current style guide of es5 version.
2015-05-25 22:15:38 +08: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