Commit Graph

900 Commits

Author SHA1 Message Date
Arnav Singh
8db205c4d2 Fix "object destructuring for multiple return values" example
... to use the same destructured properties in the good and bad code.
2016-03-20 22:40:07 -07:00
Jordan Harband
f796cfc81f [peer deps] update eslint, eslint-plugin-react 2016-03-20 17:26:15 -07:00
Jordan Harband
5ded256d3f [Fix] re-enable no-confusing-arrow rule, with allowParens option enabled.
Per #752, fixes #791.
2016-03-20 17:23:49 -07:00
Jordan Harband
9eb24d6b61 [editorial] clean up some constructor examples
Fixes #792
2016-03-16 14:47:35 -07:00
Tim Cheung
6f125a5e85 fix react/prefer-stateless-function link 2016-03-15 15:11:28 +01:00
Jordan Harband
8fe2f9ed52 [eslint config] [dev deps] update eslint, eslint-plugin-react 2016-03-11 16:33:31 -08:00
Tim Daubenschütz
c38cdd2015 Add ascribe's styleguide to the list 2016-03-11 09:29:44 +01:00
Jason Bacchetta
2ff6c427b0 Update README.md
Add parentheses around argument, to be consistent with section 8.4
(include parentheses when using braces).
2016-03-09 19:14:00 -06:00
Jordan Harband
4709e644c0 [guide] Permanent links.
- Preserve the original links, because cool URLs don’t change.
2016-03-08 10:25:31 -08:00
Jordan Harband
9e87e1d13b [guide] add some more justification for one-var and String() type coercions 2016-03-08 10:07:30 -08:00
Jordan Harband
01fc30b65b [Dev Deps] update tape 2016-03-07 14:48:32 -08:00
Jordan Harband
34f64c21e5 Add defaults for react/jsx-no-bind 2016-03-07 14:16:06 -08:00
giang pi
e7f5e0f336 Vietnamese language 2016-03-07 14:01:57 +07:00
Maks Sadowsky
8b6abf8cda Update README: Document corresponding jscs rules 2016-03-06 22:12:14 +02:00
Jordan Harband
0ece94f5bf [eslint config] v6.1.0 eslint-config-airbnb-v6.1.0 2016-03-05 14:43:58 -08:00
Jordan Harband
516297511a Merge remote-tracking branch 'origin/pr/772' 2016-03-05 14:19:42 -08:00
Jordan Harband
7b8a0ca85d [Dev Deps] update eslint-plugin-react
(new rule is in #772)
2016-03-05 14:19:34 -08:00
Jordan Harband
87616367cb [Dev Deps] update eslint, tape, eslint-plugin-react 2016-03-04 20:05:42 -08:00
Jon Tejada
762b7510ab fixed a broken link to REI's JS style guide 2016-03-03 15:21:53 -08:00
David Petersen
03d0054a46 Enable react/prefer-stateless-function rule 2016-03-02 09:19:16 -06:00
Marc-Antoine Duhaime
32e3e0f45a Update README.md
Add colon to TODO and FIXME.
2016-03-02 09:42:02 -05:00
Hyeonsu Lee
246cde0de8 Fix the typo error in JSHint link 2016-03-02 10:25:02 +09:00
chief10
607ad012ee change wording for 8.2 for consistency 2016-03-01 15:28:10 -06:00
Boris Besemer
7684892951 fixes tiny typo's on JSCS rules 2016-02-25 09:12:52 +01:00
Nick Hwang
d321f68c46 Fix word spacing and preserve consistent quotes 2016-02-24 13:55:13 -05:00
Jordan Harband
b32122d5ad Merge pull request #762 from jahvi/patch-2
[eslint config] [semver-minor] Enforce literal syntax for array creation, to match guide
2016-02-24 08:55:39 -08:00
Javier Villanueva
2d8409c3e5 Enforce literal syntax for array creation 2016-02-24 11:03:46 +00:00
David Bows
30c448d1df Updated "In The Wild" to include Brainshark. 2016-02-23 12:54:20 -08:00
Max Beier
cba519a442 Updated CHANGELOG.md 2016-02-23 15:11:31 +01:00
Felix Sanz
714f71d1d2 Added getter/setter info
I tried to search for getter/setter in the readme but nothing was found. Added some info to make a clear statement about them
2016-02-23 01:25:02 +01:00
NakShi
db8b07f51a Fixed README typo 2016-02-22 15:39:53 -08:00
Jordan Harband
6c637b97d9 [eslint config] v6.0.2 eslint-config-airbnb-v6.0.2 2016-02-22 14:49:34 -08:00
Jordan Harband
33f1ddb4c5 Disable no-confusing-arrow until eslint’s bug is resolved.
bug: https://github.com/eslint/eslint/issues/5332

Closes #752.
2016-02-22 14:30:23 -08:00
Jordan Harband
f12b2a195a [Dev Deps] update babel-tape-runner.
Closes https://github.com/wavded/babel-tape-runner/issues/11
2016-02-22 10:46:03 -08:00
Cihan Bebek
50ff33de88 Small typo fix in 18.6 'bad'-example.
Function call 'class()' to 'classed()'.
2016-02-21 21:38:33 +02:00
Jordan Harband
f4e94ade2b v6.0.1 eslint-config-airbnb-v6.0.1 2016-02-21 10:59:44 -08:00
Jordan Harband
12fb48611a Disable newline-per-chained-call until eslint’s bug is resolved.
bug: https://github.com/eslint/eslint/issues/5289

Closes #748.
2016-02-21 10:57:42 -08:00
Jordan Harband
8a6f00968d Fix no-useless-constructor example.
Per https://github.com/airbnb/javascript/pull/730#discussion_r53565774
2016-02-21 10:28:54 -08:00
Jordan Harband
b648de3233 [eslint config] v6.0.0 eslint-config-airbnb-v6.0.0 2016-02-21 00:51:00 -08:00
Jordan Harband
07e3cdeadf [eslint config] Update to eslint v2: Merge remote-tracking branch 'origin/harry-eslint-v2'
Closes #730.
2016-02-21 00:50:40 -08:00
Sergey Fursov
4574659833 rearrange comma-dangle rule to match es5/es6 codestyles, fixes #741 2016-02-21 01:31:20 +03:00
Harrison Shoff
0f32b96c12 [changelog] update changelog for 6.0.0 2016-02-20 13:24:55 -08:00
Harrison Shoff
3983d380ed [eslint-v2][arrays] fix example 2016-02-20 23:39:29 -08:00
Harrison Shoff
b79e951280 [eslint-v2][arrays] update array-callback-return good/bad ex 2016-02-20 23:33:39 -08:00
Harrison Shoff
822c0dfdfe [eslint-v2][react] jsx-sort-prop-types => sort-prop-types 2016-02-20 13:10:42 -08:00
Harrison Shoff
07948531dc [eslint-v2][react] set ignoreTranspilerName to false 2016-02-20 13:05:49 -08:00
Harrison Shoff
133fc51e21 [eslint-v2][react] add static-methods to top of sort-comp order 2016-02-20 13:02:15 -08:00
Harrison Shoff
ff0adbe291 [eslint-v2][react] acceptTranspilerName => ignoreTranspilerName 2016-02-20 12:59:00 -08:00
Harrison Shoff
e0959d0f1d [eslint-v2] fix rule links in readme 2016-02-14 19:04:12 -08:00
Harrison Shoff
65609373bf [eslint-v2][template strings] add template-curly-spacing rule, fix #716 2016-02-14 18:56:49 -08:00