Commit Graph

795 Commits

Author SHA1 Message Date
David Sorrentino
2c9833fbc2 add WeBox Studio to the organizations list 2016-01-22 11:45:56 +01:00
Rick Yeh
fb3c4cac20 Fixed minor capitalization change in Hoisting
Not sure if it's an actual fix, but just noticed this was the only comment that had capitalization that wasn't a proper noun
2016-01-21 22:54:27 -08:00
Jordan Harband
06746fa39d Merge pull request #688 from joaomilho/patch-2
[guide] Favor stateless functions over classes when there's no state
2016-01-21 13:17:47 -08:00
Brett Jurgens
36765e4d88 add avant to users 2016-01-20 15:13:31 -06:00
Juan Lulkin
4d2578cc83 Fix PR comments
- Space between function name and args;
- use `render(){}` syntax in object literal;
- Fix link to section;
2016-01-20 22:36:11 +02:00
Juan Lulkin
a568c7cf18 Remove space from jsx literal and add space to function definition
According to PR comments.
2016-01-20 19:10:20 +02:00
Juan Lulkin
45834dde1c Favour stateless functions over classes when there's no state 2016-01-20 16:53:59 +02:00
Harrison Shoff
aa6a20e237 Merge pull request #683 from kvzivn/patch-1
fix typo
2016-01-19 18:02:42 -08:00
Jordan Harband
fb65b9ae04 [guide] fix a few IIFE examples 2016-01-19 10:15:36 -08:00
Svein Halvor Halvorsen
018dd6e359 arrow-parens 2016-01-19 13:07:37 +01:00
Jordan Harband
586b7d9dfa [docs] remove trailing whitespace 2016-01-17 18:10:42 -08:00
Kevin Ivan
93a957f4f6 fix typo 2016-01-17 14:55:16 +01:00
Henry Zhu
56ea6c7351 remove specific rule values in text 2016-01-16 22:27:41 -05:00
Henry Zhu
2bd22f0475 Document corresponding jscs rules 2016-01-16 21:46:35 -05:00
Jordan Harband
396e4611c4 [Tests] use parallelshell to parallelize npm run-scripts 2016-01-16 11:02:04 -08:00
Jordan Harband
ab58d3b68e [Tests] run npm run lint as part of tests; fix errors.
hat tip to https://github.com/airbnb/javascript/pull/678#issuecomment-172017623
2016-01-15 10:31:00 -08:00
Prayag Verma
a4845a82cf Update license year range to 2016 2016-01-16 17:33:50 +05:30
Jordan Harband
4ef335e242 [eslint config] [breaking] require outer IIFE wrapping; flesh out guide section.
There was lots of discussion [here](https://github.com/airbnb/javascript/issues/21#issuecomment-10203921), but now that we have both a modern build system and an eslint rule requiring terminating semicolons, the concerns with the “crockford” style no longer apply.
2016-01-10 15:11:05 -08:00
Simon Olofsson
c2fd8fbbd6 Add missing ES6 rules to ESLint config.
`arrow-body-style` (8.2) and `prefer-template` (6.4) are described in
the Style Guide.
2016-01-15 10:46:29 +01:00
Peter Geiss
9498b3f7c4 Clearly show that [] is truthy 2016-01-13 23:12:06 -05:00
Eddie Monge
397f5bbd14 assign variables: give a reason for the assignment
The variable assignment wasn't necessary. This gives a reason to have it there
2016-01-13 14:19:14 -08:00
Simon Olofsson
90e6cd1c98 22.3: Add Link to eslint rule. 2016-01-13 17:45:43 +01:00
Jordan Harband
8e47e39fc5 Merge pull request #677 from simono/patch-3
[eslint config] [minor] Add `prefer-arrow-callback` to ES6 rules (to match the guide)
2016-01-13 08:36:05 -08:00
Simon Olofsson
54b4dea0f9 Add prefer-arrow-callback to ES6 Rules.
This prefers arrow functions as described in https://github.com/airbnb/javascript#8.1
2016-01-13 17:32:30 +01:00
Jordan Harband
44be6af748 Merge pull request #675 from simono/patch-1
[guide] 7.3: Add Link to eslint rule.
2016-01-13 08:26:03 -08:00
Simon Olofsson
59a0bccd92 7.3: Add Link to eslint rule. 2016-01-13 12:25:32 +01:00
Jordan Harband
af81beb6b8 v3.1.0 eslint-config-airbnb-v3.1.0 2016-01-07 22:21:21 -08:00
Jordan Harband
7f62252e7f [guide] clarify function spacing in 18.3
Per #668.
2016-01-07 22:15:46 -08:00
Jordan Harband
ccef92977a Merge pull request #575 from SimenB/patch-1
[eslint config] [minor] Allow multiple stateless components in a single file
2016-01-07 10:24:48 -08:00
Simen Bekkhus
96ef087bdf Allow multiple stateless components in a single file 2016-01-07 19:22:18 +01:00
Jordan Harband
74561b6449 v3.0.2 eslint-config-airbnb-v3.0.2 2016-01-06 17:06:42 -08:00
Josh Perez
e171f8a11d Merge pull request #664 from silvenon/patch-1
Ignore URLs in max-len
2016-01-06 17:03:58 -08:00
Matija Marohnić
8c70a8bc6d Ignore URLs in max-len 2016-01-07 01:11:00 +01:00
Jordan Harband
c4c724c0a3 Merge pull request #663 from silvenon/patch-1
[guide] Link to the eslint rule for radix in parseInt
2016-01-06 15:22:11 -08:00
Matija Marohnić
557b4dacd7 Link to the eslint rule for radix in parseInt 2016-01-07 00:19:06 +01:00
Jordan Harband
ed1f484e1f v3.0.1 eslint-config-airbnb-v3.0.1 2016-01-06 11:24:10 -08:00
Jordan Harband
9af944dd05 [eslint config] [fix] because we use babel, keywords should not be quoted. 2016-01-06 09:06:57 -08:00
Jordan Harband
a260d2042f Merge pull request #658 from foaly-nr1/patch-1
[guide] Fixed typo in URL
2016-01-06 08:27:12 -08:00
Jonny Schmid
6120656fd2 Fixed typo in URL 2016-01-06 11:15:35 +00:00
Jordan Harband
06595a25f7 Merge pull request #657 from mccambridge/master
[guide] clarity in destructuring code example
2016-01-05 14:15:57 -08:00
Sean McCambridge
52047535bd clarity in destructuring code example
readme
2016-01-05 17:11:48 -05:00
Jordan Harband
286e845b53 v3.0.0 eslint-config-airbnb-v3.0.0 2016-01-04 14:33:49 -08:00
Jordan Harband
81c58472b6 Fix a bug introduced in f2afce75e9 / #581 2016-01-04 14:33:49 -08:00
Jordan Harband
77eda9a8e3 Merge pull request #632 from airbnb/ljharb/quote_props
[eslint config] [breaking] enable `quote-props` rule.
2016-01-04 13:36:34 -08:00
Jordan Harband
ccc1fab899 Merge pull request #579 from tomekwi/fix-braces-text
[guide] Bring back note about braces
2016-01-04 11:38:20 -08:00
Tomek Wiszniewski
4ca5764a30 Require parentheses
As suggested by @ljharb in https://github.com/airbnb/javascript/pull/579#issuecomment-166981740
2016-01-04 20:35:42 +01:00
Tomek Wiszniewski
766f3585db Fix typo 2016-01-04 20:35:42 +01:00
Tomek Wiszniewski
b54ce438c8 Clarify 8.4 2016-01-04 20:35:42 +01:00
Tomek Wiszniewski
32ec9dd03a Make 8.2 and 8.4 simpler and more explicit 2016-01-04 20:35:42 +01:00
Tomek Wiszniewski
bc9faf6fec Bring back note about braces 2016-01-04 20:35:42 +01:00