Commit Graph

1283 Commits

Author SHA1 Message Date
Giuseppe Burtini
54aa8f1b35 [guide] Fix no-interpolation template string example
The example showed a template string being used with no interpolation as "good". While it met the rule being described, it violated another rule for no reason.
2016-08-29 08:16:34 -07:00
Jordan Harband
1ab6aaede9 [eslint config] [*] [deps] update eslint, eslint-plugin-react 2016-11-18 10:39:38 -08:00
Jordan Harband
f3f7124fcc [eslint config] [base] [patch] import/no-extraneous-dependencies: add some comments to ignore patterns. 2016-11-14 17:58:12 -08:00
Andrey Polischuk
97da1f0f9d [eslint config] [base] [patch] add import/no-extraneous-dependencies ignore patterns for test files
Fixes #1174
2016-11-12 14:32:05 +03:00
Jordan Harband
25d03b8b67 [eslint config] [*] [breaking] [deps] update eslint, eslint-plugin-import, eslint-plugin-react 2016-11-14 13:52:26 -08:00
ViZhe
72eb3e443e [eslint config] [breaking] [deps] update eslint-plugin-jsx-a11y to v3 2016-11-08 19:35:36 +03:00
Jordan Harband
b73649925a [guide] [react] add note that defaultProps must always be provided for non-required props 2016-11-09 22:53:09 -08:00
C. T. Lin
ec08ca84ba [eslint config] [base] import/no-extraneous-dependencies: added ignore patterns for config files
Fixes #1168
2016-11-09 12:46:11 +08:00
Jordan Harband
ae1c0f89cb [eslint config] [deps] update eslint-config-airbnb-base 2016-11-07 01:01:15 -08:00
Jordan Harband
f82857512d [eslint config] [base] v10.0.1 eslint-config-airbnb-base-v10.0.1 2016-11-07 00:49:02 -08:00
Jordan Harband
a2cb4a2cd6 [eslint config] [base] [fix] legacy config should not require **
Per 1399b3cbfa (commitcomment-19718532)
2016-11-07 00:48:12 -08:00
Pete Pirasis
97575b2087 Fix broken rule reference link import/first 2016-10-27 03:04:31 +07:00
Jordan Harband
24b8f35f18 [eslint config] v13.0.0 eslint-config-airbnb-v13.0.0 2016-11-06 22:14:05 -08:00
Jordan Harband
3e656750e6 [eslint config] [breaking] re-enable react/no-unused-prop-types 2016-11-06 22:07:50 -08:00
Jordan Harband
c3044f811e [eslint config] [breaking] [deps] update eslint-config-airbnb-base, eslint, eslint-plugin-import, eslint-plugin-react 2016-11-06 16:02:50 -08:00
Spen Taylor
38bd170e2c [guide] Update syntax in eol-last examples 2016-11-07 10:39:00 +11:00
Jordan Harband
8c2df7493a [eslint config] [base] v10.0.0 eslint-config-airbnb-base-v10.0.0 2016-11-06 10:41:38 -08:00
Jordan Gensler
9f51fd264b [guide] Add notes on acronyms and initialisms to naming 2016-11-06 10:46:15 -08:00
Jordan Harband
c4a9d28485 [Tests] on node v7 2016-11-06 10:34:35 -08:00
Jordan Harband
2f9dddbe20 [eslint config] [base] [patch] loosen no-extraneous-dependencies for test files.
Relates to #959, #1089.
2016-11-06 10:01:36 -08:00
Jordan Harband
1399b3cbfa [eslint config] [base] [breaking] prefer ** over Math.pow 2016-11-06 09:54:42 -08:00
Jordan Harband
436cf3ee63 [eslint config] [base] [breaking] update eslint, eslint-plugin-import; enable import/no-named-default 2016-11-06 09:54:17 -08:00
Andrew Smith
3ab19f07f4 [guide] Fix inconsistency in function expression rules. 2016-10-25 14:47:25 -07:00
Jonathan Chen
153c02b36c Create LICENSE.md 2016-11-01 06:31:17 -04:00
Jonathan
535cb799a9 [guide] Mention both num++ and num ++ 2016-11-02 16:02:35 +01:00
Mark Miyashita
556846745c [guide] Separate 19.2 code blocks into diff + javascript sections 2016-11-06 05:19:22 -08:00
Ryan Busby
86f52012cd [guide] quotes: corrected casing
Updated case to read the same in multiple spots. Added single quote example
2016-11-02 20:13:59 -07:00
Thomas Grainger
7882082954 [eslint config] [base] [breaking] comma-dangle: require trailing commas for functions 2016-11-02 00:56:01 -07:00
Jordan Harband
c51251d17b [guide] add section on multiline function signatures/invocations 2016-11-02 00:48:11 -07:00
Kevin Grandon
f9a5dd4919 Update JSX quote style rationale.
Based on https://github.com/airbnb/javascript/issues/629#issuecomment-166384924.
2016-11-01 13:54:07 -07:00
Jordan Harband
017dfa81fa [Docs] add reference to spaced-comment rule; flesh out options 2016-10-31 21:36:28 -07:00
Nischay Venkatram
9cbda0f0e7 Updated README - Added sub-section for spaces in comments 2016-10-31 18:38:36 -05:00
Gianfrancø Palumbo
fbfe8812ee DailyJS is not longer being published 2016-10-31 23:55:24 +00:00
dan-h-ch
4acb48b09a Updated README.md - Corrected capitalize on GitHub 2016-10-31 12:22:40 -07:00
Jordan Harband
5aec2c6691 [eslint config] [base] correct another typo from a23a3efba9 2016-10-31 02:22:30 -07:00
Jordan Harband
f3878876d2 [eslint config] [deps] update eslint 2016-10-31 02:09:09 -07:00
Jordan Harband
5da6fac8cc [eslint config] [base] correct typo from a23a3efba9 2016-10-31 02:01:37 -07:00
Jordan Harband
9b649c843f [eslint config] [*] [dev deps] update eslint-find-rules 2016-10-31 01:37:23 -07:00
Jordan Harband
a23a3efba9 [eslint config] [base] [deps] [breaking] update eslint
- enable `no-useless-return`
 - tighten up `indent`
 - loosen `max-len` with `ignoreRegExpLiterals` option
2016-10-31 01:36:15 -07:00
Pete Pirasis
05d0634627 Add reference for Object.assign 2016-10-27 03:31:58 +07:00
Pete Pirasis
adc782343e [react] add rule references in section *Spacing* 2016-10-27 01:58:42 +07:00
SpenUK
0e2b74a263 Add links to mentioned github issues 2016-10-26 16:45:32 +11:00
Jordan Harband
70428bdc37 [eslint config] [*] [deps] update eslint 2016-10-22 01:04:16 -07:00
Jordan Harband
a06831d52c [eslint config] [patch] set react/no-unused-prop-types to “warn”, pending bugfixes.
Closes #1099.
2016-10-22 01:03:16 -07:00
Jordan Harband
0bb3eb5412 [eslint config] [deps] [breaking] update eslint-config-airbnb-base, eslint-plugin-import 2016-10-16 23:20:02 -07:00
Jordan Harband
d7d50bcbd0 [eslint config] [base] v9.0.0 eslint-config-airbnb-base-v9.0.0 2016-10-16 23:16:28 -07:00
Simen Bekkhus
a1ca49b34c Add ForOfStatement to no-restricted-syntax
Fixes #1122
2016-10-17 08:04:38 +02:00
Simen Bekkhus
9c5afe5809 Update eslint to 3.8.0
New rule called `func-name-matching` added
2016-10-16 18:58:18 +02:00
Mikael Finstad
978c0eecc2 Use import instead of require
Don't recommend the use of require
(See 10.1)
2016-10-16 16:59:23 +02:00
Jordan Harband
a75efdfdb0 [guide] improve ++/-- example.
Fixes #1130.
2016-10-14 22:37:14 -07:00