Commit Graph

1257 Commits

Author SHA1 Message Date
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
Karan Thakkar
6ad315c090 Add section on multi-line imports. Fixes #1051 2016-10-06 14:54:53 +05:30
Jordan Harband
e2de71efb7 [eslint config] [*] update babel-preset-airbnb, eslint, eslint-find-rules, tape 2016-10-03 16:15:31 -07:00
jcreamer898
8468ed8423 Lonely Planet
Add Lonely Planet to the "In the Wild" list.
2016-09-27 09:13:20 -05:00
Tim van der Horst
24223ee444 [eslint config] [patch] class-methods-use-this: exempt React getChildContext
Added `getChildContext` to the exceptions list for `class-methods-use-this`
2016-09-27 18:07:56 +10:00
Jonas Enlund
59db4aab15 [eslint config] [base] [patch] new-cap: add immutable.js exceptions 2016-09-25 11:56:54 +03:00
Jordan Harband
a1c84eee15 [eslint config] v12.0.0 eslint-config-airbnb-v12.0.0 2016-09-24 15:06:10 -07:00
Jordan Harband
39d7c73ef1 [eslint config] [patch] class-methods-use-this: exempt React lifecycle methods 2016-09-24 20:03:58 -07:00
Jordan Harband
976845e930 [eslint config] [breaking] Enable react rules:
- `react/no-unescaped-entities`
 - `react/no-children-prop`
2016-09-24 14:38:54 -07:00
Jordan Harband
0dae56a8e1 [eslint config] [patch] disable deprecated and redundant react/require-extension rule
Fixes #978.
2016-09-24 14:34:52 -07:00
Jordan Harband
0faabe054d [eslint config] [breaking] [deps] update eslint-config-airbnb-base 2016-09-24 14:30:57 -07:00
Jordan Harband
0157e69a0d [eslint config] [base] v8.0.0 eslint-config-airbnb-base-v8.0.0 2016-09-24 12:31:53 -07:00
Jordan Harband
f6dab799b8 [eslint config] [base] [breaking] enable rules:
- `no-restricted-properties`
 - `prefer-numeric-literals`
 - `lines-around-directive`
 - `import/extensions`
 - `import/no-absolute-path`
 - `import/no-dynamic-require`
2016-09-24 12:30:58 -07:00
Jordan Harband
173cba3cc6 [eslint config] v11.2.0 eslint-config-airbnb-v11.2.0 2016-09-23 22:45:47 -07:00