Commit Graph

771 Commits

Author SHA1 Message Date
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
Jordan Harband
619ff1cfd1 Merge pull request #655 from awitherow/master
[guide] missing 's', create(s) under Method
2016-01-04 11:03:18 -08:00
Austin Witherow
fd6867d964 missing 's', create(s) under Method 2016-01-04 16:19:24 +01:00
Jordan Harband
7890b6c5d6 Merge pull request #652 from strburst/link-comma-dangle
[docs] Link newer ESLint rule (no-comma-dangle → comma-dangle)
2016-01-01 09:16:48 -08: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
Jordan Harband
ceb4195636 Merge pull request #651 from gergoerdosi/max-len
[Fix] fix max-len rule definition for eslint 1.x
2015-12-30 17:45:52 -08:00
Gergo Erdosi
8e54961aeb Fix max-len rule definition
The current definition is valid only in eslint@2.x.x, but this package has a dependency on eslint@1.10.3 which doesn't have all those options yet.
2015-12-31 01:39:07 +01:00
Jordan Harband
6184703f1c Merge pull request #649 from AlicanC/never-mutate-parameters-link
[Docs] Add eslint link for "Never mutate parameters." rule
2015-12-29 15:59:17 -08:00
Alican Çubukçuoğlu
f4b4ff6e1e Add ESLint link for "Never mutate parameters." rule. 2015-12-30 01:54:16 +02:00
Jordan Harband
799085ff41 Merge pull request #647 from AlicanC/cleanup
[Docs] Cleanup markdown indentation
2015-12-29 15:47:26 -08:00
Jordan Harband
d97ed42ee4 Merge pull request #648 from yuyokk/patch-1
[Docs] Add missing back tick
2015-12-29 15:32:39 -08:00
Iurii Kucherov
bbaaf746db Add missing back tick 2015-12-29 22:54:02 +01:00
Alican Çubukçuoğlu
3869c21182 Fix indentation and spacing. 2015-12-29 19:48:16 +02:00
Jordan Harband
aacaca81c8 Merge pull request #643 from AlicanC/split-never-mutate-parameters
[Docs] Make no-param-reassign a separate section.
2015-12-29 09:26:24 -08:00
Alican Çubukçuoğlu
6d9a787ae2 Make reassigning a separate rule. 2015-12-29 19:11:52 +02:00
Jordan Harband
8c241be003 Merge pull request #637 from evenfrost/master
[eslint config] Permit strict mode in "legacy" config
2015-12-24 08:35:26 -08:00
Jordan Harband
6d00939747 Merge pull request #639 from chrisngobanh/max-len
[eslint config] [breaking] Define a max line length of 100 characters
2015-12-24 08:35:04 -08:00
Christopher Banh
e2e4724fbb Address comments in #639
[eslint] Add comment above `max-len` rule with link to its docs
[eslint] Change tab width for `max-len` rule from 4 to 2
[eslint] Replace double quotes around `max-len` with single quotes
[eslint] Use object form of `max-len` and include all of the options
2015-12-24 02:08:16 -08:00
Christopher Banh
f1c249bcd3 Reword section 6.2 to recognize the line length 2015-12-24 02:08:16 -08:00
Christopher Banh
69d3327362 Enable ESLint rule on limiting maxiumum length of line (max-len)
I moved the rule from legacy.js to style.js and enabled it
2015-12-24 02:08:16 -08:00
Christopher Banh
d11f2663c5 Update .jshintrc with new 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
Aleksey Kislov
c9a9194243 Preserve strict rule for default export 2015-12-24 11:31:33 +03:00
Jordan Harband
fbf81eba3a Merge pull request #581 from tikotzky/update-eslint-react
[eslint config] [react] add missing rules from eslint-plugin-react (enforcing where necessary)
2015-12-23 18:56:40 -08:00
Mordy Tikotzky
f2afce75e9 add default config to all rules which take a config 2015-12-23 21:39:31 -05:00