Commit Graph

1022 Commits

Author SHA1 Message Date
Jordan Harband
638b312b6c [eslint config] [base] update eslint 2016-05-15 21:14:59 -05:00
Joe Lencioni
4ac8aed126 Prepare to enable react-a11y rules
When I first added these, I left TODO notes to come back and evaluate
enabling them. I've gone through and think that we should definitely at
least enable the rules that enforce basic spec compliance (e.g. that
props don't have typos and that all of the required props are provided
for the given role). Since these deal with basic correctness, I don't
think we need to add any verbiage to the style guide for these rules.

We still have some more that we should evaluate and decide about
enabling here, but this is a good step in the right direction.
2016-05-13 11:25:44 -07:00
Jordan Harband
c7faa91328 [eslint config] [tests] Even though the base config may not be up to date in the main package, let’s npm link the base package into the main one for the sake of travis-ci tests. 2016-05-12 17:36:27 -05:00
Jordan Harband
788fb2297a [eslint config] [*] [deps] update eslint-plugin-import 2016-05-12 17:28:57 -05:00
Joe Lencioni
d68a067f2b Prepare to enable import/prefer-default-export
This was recently added to eslint-plugin-export. It enforces that
modules that only have a single export use a default export instead of a
named export. Since this is a breaking change and we want to cluster
breaking changes, I marked it as 0 for now with a TODO to enable when
that time comes.
2016-05-12 15:21:07 -07:00
Joe Lencioni
5acae06653 Add whitespace between rules
I found these rules all smashed together with comments a little
difficult to mentally parse, partly because it is ambiguous which line
the comment applies to. Separating with some whitespace helps a lot
here, and will also reduce the likelihood of merge conflicts in this
code.
2016-05-12 11:43:53 -07:00
Jordan Harband
db732788e7 [eslint config] [react] [patch] loosen jsx-pascal-case rule to allow all caps component names 2016-05-09 15:41:52 -07:00
Jordan Harband
d25a199c56 [eslint config] [deps] update eslint-config-airbnb-base, eslint-plugin-react 2016-05-09 15:40:46 -07:00
Felipe Vargas
b660d4cc3f Add semicolon in arrow functions section 2016-05-08 18:15:41 -04:00
Jordan Harband
03c5a1f955 [eslint config] v9.0.1 eslint-config-airbnb-v9.0.1 2016-05-08 14:57:25 -07:00
Jordan Harband
d95dc3d500 [eslint config] [base] v3.0.1 eslint-config-airbnb-base-v3.0.1 2016-05-08 14:55:42 -07:00
Jordan Harband
be5c90a417 [docs] Array.from, not Array#from 2016-05-08 14:54:14 -07:00
Jordan Harband
56a524a47e [eslint config] [base] [patch] re-disable no-extra-parens
Fixes #869, #867.
2016-05-08 14:53:24 -07:00
Alejandro Oviedo
ba5d9f0cd7 add links to resources on mdn 2016-05-08 11:33:58 -03:00
Jordan Harband
330169d15e [eslint config] v9.0.0 eslint-config-airbnb-v9.0.0 2016-05-07 10:39:47 -07:00
Jordan Harband
8b396ab9ef [eslint config] [deps] Update eslint-config-airbnb-base, eslint-plugin-jsx-a11y, eslint-plugin-import, eslint-find-rules 2016-05-07 10:33:05 -07:00
Jordan Harband
1b31efc07e [eslint config] [base] v3.0.0 eslint-config-airbnb-base-v3.0.0 2016-05-06 18:04:54 -07:00
Jordan Harband
92a3d5570b [eslint config] [base] [breaking] enable import/no-mutable-exports 2016-05-06 17:44:59 -07:00
Jordan Harband
36e088759f [eslint config] [base] [patch] enable import/no-duplicates 2016-05-06 17:40:57 -07:00
Jordan Harband
b20cf1966c [eslint config] [base] [minor] enable import/no-amd
(per https://github.com/airbnb/javascript#modules--use-them )
2016-05-06 17:40:20 -07:00
Jordan Harband
83c431d655 [eslint config] [base] [breaking] enable no-class-assign rule, to pair with no-func-assign 2016-05-06 17:39:09 -07:00
Jordan Harband
e9aec9e94f [eslint config] [base] update eslint-plugin-import, eslint-find-rules 2016-05-06 12:24:13 -07:00
Jordan Harband
fd5c71c0a9 [eslint config] [base] [breaking] widen no-extra-parens to include everything, except nestedBinaryExpressions
Per https://github.com/eslint/eslint/issues/3065#event-626005438
2016-05-04 16:52:06 -07:00
Josh Perez
6eec3a6df7 Merge pull request #864 from taion/patch-1
Add 4Catalyzer to users
2016-05-04 16:34:36 -07:00
Jimmy Jia
f9089d075a Add 4Catalyzer to users 2016-05-04 19:31:04 -04:00
Jordan Harband
4540293d44 [eslint config] [*] [dev deps] update eslint-find-rules 2016-05-03 22:16:31 -07:00
Jordan Harband
6c25bcf9c1 [eslint config] [base] [breaking] Re-enabling newline-per-chained-call
Per https://github.com/airbnb/javascript/issues/748#issuecomment-216690840 and https://github.com/eslint/eslint/pull/5365
2016-05-03 22:15:25 -07:00
Jordan Harband
d1f2416ffa [eslint config] [deps] update eslint-config-airbnb-base, eslint, eslint-plugin-import, eslint-plugin-jsx-a11y 2016-04-30 00:06:22 -07:00
Jordan Harband
f806ed6bb3 [Tests] on node v6 2016-04-30 00:05:24 -07:00
Jordan Harband
dc4130cdbc [eslint config] [base] v2.0.0 eslint-config-airbnb-base-v2.0.0 2016-04-30 00:01:21 -07:00
Jordan Harband
31e8412231 [eslint config] [base] [breaking] enable no-unsafe-finally rule 2016-04-30 00:00:22 -07:00
Jordan Harband
d85abc587a [eslint config] [base] [semver-minor] enable no-useless-computed-key rule 2016-04-30 00:00:01 -07:00
Jordan Harband
56fd094e01 [eslint config] [base] [deps] update eslint, eslint-plugin-import 2016-04-29 23:57:23 -07:00
Filip Spiridonov
c81727accd Remove an extra backtick from the README.md 2016-04-26 20:55:10 -07:00
Jordan Harband
33ff1adb2d [eslint config] [deps] update eslint-config-airbnb-base, eslint-find-rules, eslint-plugin-import, eslint-plugin-jsx-a11y 2016-04-26 01:58:30 -07:00
Jordan Harband
3519daf60d [eslint config] [base] v1.0.4 eslint-config-airbnb-base-v1.0.4 2016-04-26 02:11:23 -07:00
Jordan Harband
d45349497a [eslint config] [base] [deps] update eslint-find-rules, eslint-plugin-import 2016-04-26 02:06:46 -07:00
Jordan Harband
1e1772b340 [guide] [es5] Update whitespace and missing function names.
Per https://github.com/airbnb/javascript/issues/55#issuecomment-214672292
2016-04-26 02:06:46 -07:00
Kristóf Poduszló
7431ef13a0 Remove React from the readme of eslint-config-airbnb-base 2016-04-25 19:32:09 +02:00
Oliver THEBAULT
a71bffa5e3 Fix README "4.5" bad reduce example 2016-04-24 19:48:45 +02:00
Jimmy Jia
79af88d9d6 Clarify stateless component function naming 2016-04-22 12:13:22 -04:00
Jordan Harband
8f0f2890f2 [eslint config] [base] v1.0.3 eslint-config-airbnb-base-v1.0.3 2016-04-21 23:42:08 -07:00
Jordan Harband
d1383a7cf8 [eslint config] [base] [semver-patch] Allow empty class/object methods. 2016-04-21 23:41:18 -07:00
Jordan Harband
117196b3d0 [eslint config] v8.0.0 eslint-config-airbnb-v8.0.0 2016-04-21 00:06:26 -07:00
Jordan Harband
44ae49ebcf [eslint config] restore jsx-quotes rule, lost in 52d3401f95
Fixes #846.
2016-04-21 10:11:16 -07:00
alexpausan
2d81a2db4a Started using AirBnB style guide. 2016-04-21 10:23:12 +03:00
Jordan Harband
49c5f3d862 [Tests] allow npm install/npm test in the project root to work in both sub packages. 2016-04-20 23:20:14 -07:00
Jordan Harband
f0b6eea9d6 [eslint config] Make eslint-config-airbnb-base a regular dependency.
Per https://github.com/airbnb/javascript/pull/829#issuecomment-212559831
2016-04-20 17:22:56 -07:00
Jordan Harband
277b08710f [eslint config] [deps] update eslint-plugin-jsx-a11y 2016-04-20 16:35:12 -07:00
Jordan Harband
d0ddba17c3 [eslint config] [base] [dev deps] update eslint-find-rules 2016-04-20 23:12:51 -07:00