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 |
|
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 |
|