Commit Graph

163 Commits

Author SHA1 Message Date
Joe Lencioni
acbddc1083 Add note and rule about image alt text
We want our React apps to be accessible. One thing that developers can
do is properly use alt text on images. Thankfully, there is an ESLint
rule that will enforce these things for us.
2016-04-06 14:51:22 -07:00
Jordan Harband
76e1e4c1de [eslint config] [breaking] Add no-dupe-class-members rule + section.
Closes #785.
2016-04-02 18:08:27 -07:00
Jordan Harband
5b9f081d1d [eslint config] [deps] update eslint, react 2016-04-02 17:46:24 -07:00
Jordan Harband
062929ee5f [eslint config] [breaking] error on debugger statements 2016-04-01 14:25:31 -07:00
Jordan Harband
81241b83cf [eslint config] [breaking] add no-useless-escape rule. 2016-03-26 23:11:23 -07:00
Jordan Harband
24565121c1 [eslint config] [breaking] add no-duplicate-imports rule. 2016-03-26 22:42:29 -07:00
Jordan Harband
5ce6fb1eae [eslint config] [dev deps] update eslint, eslint-plugin-react 2016-03-26 22:39:17 -07:00
Jordan Harband
ff6e1d0d08 [eslint config] v6.2.0 2016-03-22 23:34:59 -07:00
Gil Birman
94ace27f46 Allow arrow functions in JSX props 2016-03-21 14:53:48 -07:00
Jordan Harband
f796cfc81f [peer deps] update eslint, eslint-plugin-react 2016-03-20 17:26:15 -07:00
Jordan Harband
5ded256d3f [Fix] re-enable no-confusing-arrow rule, with allowParens option enabled.
Per #752, fixes #791.
2016-03-20 17:23:49 -07:00
Tim Cheung
6f125a5e85 fix react/prefer-stateless-function link 2016-03-15 15:11:28 +01:00
Jordan Harband
8fe2f9ed52 [eslint config] [dev deps] update eslint, eslint-plugin-react 2016-03-11 16:33:31 -08:00
Jordan Harband
01fc30b65b [Dev Deps] update tape 2016-03-07 14:48:32 -08:00
Jordan Harband
34f64c21e5 Add defaults for react/jsx-no-bind 2016-03-07 14:16:06 -08:00
Jordan Harband
0ece94f5bf [eslint config] v6.1.0 2016-03-05 14:43:58 -08:00
Jordan Harband
516297511a Merge remote-tracking branch 'origin/pr/772' 2016-03-05 14:19:42 -08:00
Jordan Harband
7b8a0ca85d [Dev Deps] update eslint-plugin-react
(new rule is in #772)
2016-03-05 14:19:34 -08:00
Jordan Harband
87616367cb [Dev Deps] update eslint, tape, eslint-plugin-react 2016-03-04 20:05:42 -08:00
David Petersen
03d0054a46 Enable react/prefer-stateless-function rule 2016-03-02 09:19:16 -06:00
Nick Hwang
d321f68c46 Fix word spacing and preserve consistent quotes 2016-02-24 13:55:13 -05:00
Javier Villanueva
2d8409c3e5 Enforce literal syntax for array creation 2016-02-24 11:03:46 +00:00
Max Beier
cba519a442 Updated CHANGELOG.md 2016-02-23 15:11:31 +01:00
Jordan Harband
6c637b97d9 [eslint config] v6.0.2 2016-02-22 14:49:34 -08:00
Jordan Harband
33f1ddb4c5 Disable no-confusing-arrow until eslint’s bug is resolved.
bug: https://github.com/eslint/eslint/issues/5332

Closes #752.
2016-02-22 14:30:23 -08:00
Jordan Harband
f12b2a195a [Dev Deps] update babel-tape-runner.
Closes https://github.com/wavded/babel-tape-runner/issues/11
2016-02-22 10:46:03 -08:00
Jordan Harband
f4e94ade2b v6.0.1 2016-02-21 10:59:44 -08:00
Jordan Harband
12fb48611a Disable newline-per-chained-call until eslint’s bug is resolved.
bug: https://github.com/eslint/eslint/issues/5289

Closes #748.
2016-02-21 10:57:42 -08:00
Jordan Harband
b648de3233 [eslint config] v6.0.0 2016-02-21 00:51:00 -08:00
Harrison Shoff
0f32b96c12 [changelog] update changelog for 6.0.0 2016-02-20 13:24:55 -08:00
Harrison Shoff
822c0dfdfe [eslint-v2][react] jsx-sort-prop-types => sort-prop-types 2016-02-20 13:10:42 -08:00
Harrison Shoff
07948531dc [eslint-v2][react] set ignoreTranspilerName to false 2016-02-20 13:05:49 -08:00
Harrison Shoff
133fc51e21 [eslint-v2][react] add static-methods to top of sort-comp order 2016-02-20 13:02:15 -08:00
Harrison Shoff
ff0adbe291 [eslint-v2][react] acceptTranspilerName => ignoreTranspilerName 2016-02-20 12:59:00 -08:00
Harrison Shoff
65609373bf [eslint-v2][template strings] add template-curly-spacing rule, fix #716 2016-02-14 18:56:49 -08:00
Harrison Shoff
e1a087fbb1 [eslint-v2] add prefer-rest-params 2016-02-14 18:45:44 -08:00
Harrison Shoff
c5b4f05879 [eslint-v2] add one-var-declaration-per-line 2016-02-14 18:39:32 -08:00
Harrison Shoff
e6cbcf4cc5 [eslint-v2][whitespace] add no-whitespace-before-property rule 2016-02-14 18:35:23 -08:00
Harrison Shoff
92df6357b3 [eslint-v2][variables] add no-self-assign 2016-02-14 18:30:28 -08:00
Harrison Shoff
3762c9add8 [eslint-v2] add no-new-symbol rule 2016-02-14 14:58:28 -08:00
Harrison Shoff
6a03a32915 [eslint-v2][arrow functions] add no-confusing-arrow rule 2016-02-14 14:47:23 -08:00
Harrison Shoff
172dffbb52 [eslint-v2][whitespace] add newline-per-chained-call rule 2016-02-14 11:48:04 -08:00
Harrison Shoff
fbd9c35dd3 [eslint-v2][arrays] add array-callback-return rule 2016-02-14 11:14:38 -08:00
Harrison Shoff
a126d0b85c [eslint-v2] enforce yield-start-spacing, no-unused-labels, no-extra-label 2016-02-14 12:56:03 -08:00
Harrison Shoff
c05b2da9db [eslint-v2] add new rules, disabled:
- `id-blacklist`
 - `no-extra-label`
 - `no-implicit-globals`
 - `no-restricted-imports`
 - `no-unmodified-loop-condition`
 - `no-unused-labels`
 - `sort-imports`
 - `yield-star-spacing`
2016-02-14 02:50:51 -08:00
Harrison Shoff
1cbc628c49 [eslint-v2][constructors] disallow unnecessary constructors 2016-02-13 13:57:38 -08:00
Harrison Shoff
5109c84926 [eslint-v2] fix no-labels rule 2016-02-13 13:41:52 -08:00
Harrison Shoff
75807b9d5e [eslint-v2] no gens, no dup props in obj literal 2016-02-12 11:42:15 -08:00
Harrison Shoff
3aa8c58487 [eslint-v2] fix keyword-spacing style and sorting 2016-02-12 11:36:26 -08:00
Harrison Shoff
4f32315b24 [eslint-v2] ecmaFeatures => parserOptions 2016-02-12 11:36:08 -08:00