Jordan Harband
c29560441e
[eslint config] It doesn’t matter which react version we install since we’re just testing module resolution.
2016-04-16 11:53:21 -07:00
Jordan Harband
cbd2c38da8
[eslint config] [dev deps / peer deps] update eslint
2016-04-16 11:50:21 -07:00
Jordan Harband
81d01645c2
[eslint config] remove need for a local symlink.
2016-04-16 11:05:25 -07:00
Joe Lencioni
eb4f7cb3a8
Properly capitalize ECMAScript
2016-04-14 09:06:33 -07:00
Joe Lencioni
531950cc26
Add plugin requirements to config package readme
...
I missed these when I added some eslint-plugin-import rules.
2016-04-14 09:05:24 -07:00
Joe Lencioni
0fe4f558a6
Enable import/no-unresolved and import/export rules
...
These come from eslint-plugin-import. We've been using these rules for a
while at Airbnb so it seems like a good time to include them in this
configuration. We've found the no-unresolved rule in particular to be
very helpful when working across a large codebase.
https://github.com/benmosher/eslint-plugin-import
Since the no-unresolved rule works on commonjs, I decided to include it
in the node configuration as well.
I think there are some more rules from this plugin that are worth
enabling, but this seems like a great place to start.
2016-04-13 17:13:00 -07:00
Joe Lencioni
662519efc0
Link to eslint.org instead of github where possible
...
In most cases we link to documentation on the eslint.org site instead of
on GitHub. I found a couple of stragglers and decided to make things a
little more consistent.
2016-04-13 14:24:53 -07:00
Jordan Harband
956f91527b
[eslint config] [semver-minor] enforce no-underscore-dangle
2016-04-12 15:32:11 -07:00
C. T. Lin
9060fba34a
Added eslint-plugin-jsx-a11y to install script
2016-04-12 13:38:25 +08:00
Jordan Harband
93b0a10eb7
[eslint config] v7.0.0
2016-04-11 15:24:22 -07:00
Jordan Harband
66ec951087
[eslint config] [peer deps] update eslint-plugin-jsx-a11y
2016-04-11 15:22:26 -07:00
Joe Lencioni
a929776d67
Improve guideline for image alt text
...
After digging into this rule a little more with @evcohen, we believe that
it is okay for images to have an empty string for alt text and have
updated the plugin to reflect that understanding. This commit bumps our
dependency on the rule to include this fix and updates our guideline to
match.
2016-04-08 18:42:51 -07:00
Jordan Harband
7c0bb0a6de
[eslint config] [breaking] enable react/require-render-return
2016-04-06 22:57:44 -07:00
Jordan Harband
7b5731157f
[eslint config] [semver-minor] enable jsx-pascal-case rule.
2016-04-06 22:52:55 -07:00
Jordan Harband
6fd8fb60b3
[eslint config] [dev deps] update eslint, eslint-plugin-react
2016-04-06 22:51:47 -07:00
Joe Lencioni
f697a15e50
Add note and rule about not using accessKey
...
Inconsistencies between keyboard shortcuts and keyboard commands used by
people using screenreaders and keyboards complicate accessibility.
2016-04-06 14:51:44 -07:00
Joe Lencioni
0c3b13fe93
Add note and rule about valid, non-abstract ARIA roles
...
This rule will help people use only valid roles, which might save people
from simple, accessibility-busting mistakes.
2016-04-06 14:51:44 -07:00
Joe Lencioni
f2aca29ed9
Add note and rule about redundant alt text
...
Screenreaders already announce `img` elements as images, so there is no
need to include this information in the alt text. This will give people
using assistive technologies a smoother experience.
2016-04-06 14:51:44 -07:00
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