Commit Graph

1270 Commits

Author SHA1 Message Date
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
Jordan Harband
baa831b4a9 [eslint config] [*] [docs] ensure latest version of config is installed
Fixes #1121.
2016-10-13 10:26:31 -07:00
Jordan Harband
8d0fda975c [eslint config] [base] Add comments on new import rules. 2016-10-13 00:40:14 -07:00
Simen Bekkhus
b59bfffac3 Enable import/no-webpack-loader-syntax rule 2016-10-13 09:09:10 +02:00
Jordan Harband
eb9927fb58 [eslint config] [deps] update eslint-plugin-react 2016-10-12 23:50:56 -07:00
Simen Bekkhus
b599b7c2d5 Upgrade to import plugin v2 2016-10-11 18:37:09 +02:00
Miles Burton
357cc46da0 Update README.md
Minor oversight generating map object. Need square brackets to generate dynamic key.
2016-10-11 08:44:43 +01:00
Jordan Harband
781f186f90 [eslint config] [*] [deps] update safe-publish-latest, eslint-plugin-jsx-a11y, eslint-plugin-react 2016-10-09 20:33:06 -07:00
Chester How
1483292893 Fix naming typo 2016-10-10 11:21:18 +08:00
Randall Reed, Jr
b7492ffe60 Update comparison recommendation
* Use shortcuts for boolean comparisons
* Use explicit comparisons for strings and numbers
2016-10-08 16:41:45 -04:00
Randall Reed, Jr
d0d260095b Make section numbering consistent
* Renumber items where numbers were skipped
2016-10-08 13:01:54 -04:00
Jordan Harband
1bc2f3f365 Merge pull request #1110 from karanjthakkar/multiline-imports
[guide] Add section on multiline imports.

Fixes #1051
2016-10-07 00:19:12 -07:00
Karan Thakkar
b72bd520b6 Fix rule description 2016-10-07 12:34:36 +05:30
Karan Thakkar
098894efee Remove legacy anchor link. Add dangling comma 2016-10-07 12:16:21 +05:30