Commit Graph

401 Commits

Author SHA1 Message Date
Simon Olofsson
90e6cd1c98 22.3: Add Link to eslint rule. 2016-01-13 17:45:43 +01:00
Simon Olofsson
59a0bccd92 7.3: Add Link to eslint rule. 2016-01-13 12:25:32 +01:00
Jordan Harband
7f62252e7f [guide] clarify function spacing in 18.3
Per #668.
2016-01-07 22:15:46 -08:00
Matija Marohnić
557b4dacd7 Link to the eslint rule for radix in parseInt 2016-01-07 00:19:06 +01:00
Jonny Schmid
6120656fd2 Fixed typo in URL 2016-01-06 11:15:35 +00:00
Sean McCambridge
52047535bd clarity in destructuring code example
readme
2016-01-05 17:11:48 -05:00
Jordan Harband
4cdc3fe483 [eslint config] [breaking] enable quote-props rule. 2015-12-22 09:49:25 -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
Allen Zheng
896783d20c Link newer ESLint rule (namely comma-dangle)
The "no-comma-dangle" rule was deprecated in favor or "comma-dangle" in
ESLint v1.0.

See http://eslint.org/docs/rules/no-comma-dangle.html,
http://eslint.org/docs/rules/comma-dangle, and line 4 of
packages/eslint-config-airbnb/rules/errors.js.
2015-12-31 20:23:35 -05:00
Alican Çubukçuoğlu
f4b4ff6e1e Add ESLint link for "Never mutate parameters." rule. 2015-12-30 01:54:16 +02:00
Alican Çubukçuoğlu
3869c21182 Fix indentation and spacing. 2015-12-29 19:48:16 +02:00
Alican Çubukçuoğlu
6d9a787ae2 Make reassigning a separate rule. 2015-12-29 19:11:52 +02:00
Christopher Banh
f1c249bcd3 Reword section 6.2 to recognize the line length 2015-12-24 02:08:16 -08:00
Christopher Banh
b7fbc7b6df Add section 18.12 on line length 2015-12-24 02:08:16 -08:00
Jordan Harband
4adf9303c2 Merge pull request #576 from evolution-gaming/in-the-wild
[in the wild] Add Evolution Gaming
2015-12-23 12:12:07 -08:00
Thomas Shafer
a533a4fb93 added newlines after each function 2015-12-17 11:18:36 -08:00
Thomas Shafer
f7971301b0 update examples for style
add link to no-param-reassign rule documentation
2015-12-16 20:21:38 -08:00
Thomas Shafer
2589c67b0c update best-practices config to prevent parameter object manipulation
added good/bad examples of parameter mutation to the readme
2015-12-16 15:43:00 -08:00
Gerardo Renovales
2ab6253f85 Update README.md
Add OutBoxSoft to the list of organizations
2015-12-14 15:06:57 -05:00
Benjamin Winterberg
721b8cd01f Fix syntax highlighting in section 15 2015-12-09 10:51:49 +01:00
Josh Perez
a1efff9f6d Documents corresponding eslint rules 2015-12-03 15:39:49 -08:00
Jon Abrams
a31c72a1e5 Fix example for section 7.11
The missing newline caused the markdown parser to misinterpret the beginning and end of the code block.
2015-12-03 14:37:52 -08:00
Jordan Harband
599ca4f123 Require a space between function and (, and function and the function's name, and disallow spaces between the function's name and (. 2015-12-02 22:58:11 -08:00
Jordan Harband
6e6a2b91e1 Merge pull request #604 from Bisk/master
Add Bisk to the list of organizations
2015-12-02 20:58:08 -08:00
Josh Perez
eee4371299 Merge pull request #600 from zwhitchcox/patch-1
Add facebook's react to "In the Wild"
2015-12-02 13:46:57 -08:00
Gerardo Renovales
e754dcc7cf Update README.md
Adding Bisk to the list of organizations
2015-12-02 16:40:41 -05:00
Jordan Gensler
2944b9b47b Adding jeopardybot to styleguide users. 2015-12-02 12:24:01 -08:00
zwhitchcox
287dee40e5 Add facebook's react to "In the Wild"
I can't believe you guys didn't have that one! That's probably your best one.
2015-12-02 12:48:46 -05:00
Stefano Pigozzi
6debbcdd73 Add Section 18.11 - Add spaces inside curly braces
Fixes #593
2015-11-28 18:47:46 +01:00
Stefano Pigozzi
ee3759a7ed Add Section 18.10 - No spaces inside brackets
See #593
2015-11-28 13:29:47 +01:00
Stefano Pigozzi
2557a5bca6 Add Section 18.9 - No spaces inside parentheses
See #593
2015-11-28 13:26:37 +01:00
jpersson
a3495e07f4 Avoid the word "mutate" while explaining const 2015-11-17 13:12:02 -05:00
Janis Zarzeckis
96b0057b30 Organisation renamed 2015-11-11 17:48:50 +02:00
Janis Zarzeckis
4c1fbf2bec Add Evolution Gaming to 'In The Wild' section 2015-11-11 14:14:18 +02:00
Jake Teton-Landis
f4e5967a0a Merge pull request #547 from chrisngobanh/padded-blocks
Prohibit Padded Blocks and Allow Comments in the First Line of a Block
2015-11-05 16:45:47 -08:00
Harrison Shoff
f130c0ffa2 [6.5] add backticks around stray eval. fixes #556 2015-11-04 11:12:45 +01:00
Harrison Shoff
88d5084009 Merge pull request #564 from frankenbot/master
Update redirects
2015-11-04 11:07:13 +01:00
frankenbot
49293bbf8c Update redirects 2015-11-02 20:11:56 -08:00
Jordan Harband
f2f8186d0f Start to write a realistic "testing" section 2015-10-31 13:49:53 -07:00
Christopher Banh
4b5348a5fc Add examples with if statements to 18.8 2015-10-16 10:35:14 -07:00
Christopher Banh
d276b0c389 Update 17.2 to allow comments in the first line of a block
In #483, justjake said that we should update the style guide to allow
single line comments in the first line of a block.
2015-10-15 18:15:54 -07:00
Christopher Banh
9897e7d8d1 Add Section 18.8 - No padded blocks
This addresses #483
2015-10-15 18:10:25 -07:00
Nick Hwang
8dd0b758f3 Add HubSpot to 'In The Wild' section 2015-10-13 23:21:02 -04:00
Gregory McCue
3c3c9a299d Fix link text. 2015-10-01 19:08:05 +02:00
Gregory McCue
be61bbd53c Add Ecosia to "In the Wild" section. 2015-10-01 11:35:30 +02:00
Danny Nemer
7d0e236b59 Clarify proper type casting for Numbers
Clarifies when to use `Number` vs. `parseInt` for Number type casting.

Fixes: #523
2015-09-25 10:17:27 -04:00