Jordan Harband
dc4130cdbc
[eslint config] [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
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
Kristóf Poduszló
7431ef13a0
Remove React from the readme of eslint-config-airbnb-base
2016-04-25 19:32:09 +02:00
Jordan Harband
8f0f2890f2
[eslint config] [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
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
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
Jordan Harband
f1ab4805b6
[eslint config] [deps] update eslint-find-rules, eslint-config-airbnb-base
2016-04-20 11:24:52 -07:00
Jordan Harband
0207503bef
[eslint config] [base] v1.0.2
2016-04-20 11:19:53 -07:00
Jordan Harband
3c915dd686
[eslint config] [base] [patch] remove “break” statement from restricted syntax.
...
Per https://github.com/airbnb/javascript/issues/840#issuecomment-212541010
2016-04-20 11:15:10 -07:00
Jordan Harband
37e1c3c6c9
[eslint config] [base] v1.0.1
2016-04-19 22:20:40 -07:00
Jordan Harband
d06147d279
[eslint-config] [base] [semver-patch] Allow == null.
...
Closes #542 .
2016-04-19 22:15:39 -07:00
Jordan Harband
13cddaf51e
[eslint config] [breaking] enable react/jsx-curly-spacing rule.
...
Fixes #693 .
2016-04-19 20:17:05 -07:00
Joe Lencioni
02414502b6
Upgrade eslint-plugin-jsx-a11y 0.6.2 -> 1.0.1
...
This new version renames most of the rules, and adds a number of new
rules that we will need to evaluate. I simply added them for now with
TODO comments so we remember to come back to them and make decisions
about each one. I also alphabetized the list to make it easier to find
what you are looking for.
2016-04-19 17:22:43 -07:00
Jordan Harband
52d3401f95
[eslint config] [eslint config base] [breaking] Migrate non-React rules to a separate linter config.
2016-04-16 11:04:28 -07:00
Simen Bekkhus
8c63dd93a7
Remove false comment
2016-04-19 08:39:16 +02:00
Jordan Harband
e856d93ada
[deps] update eslint-plugin-react, eslint-plugin-import
2016-04-18 23:23:55 -07:00
Jordan Harband
a9db06e1dd
[eslint config] Add eslint-find-rules to prevent missing rules.
2016-04-17 13:09:21 -07:00
Jordan Harband
12d08b38dc
[eslint config] Add missing disabled rules.
2016-04-17 13:05:01 -07:00
Jordan Harband
e1cbcbecf6
[eslint config] [breaking] enable global-require rule
2016-04-17 13:03:16 -07:00
Jordan Harband
6efcda314d
[eslint config] [breaking] enable no-restricted-syntax rule.
...
Forbids “with”, “break”, “debugger”, “for..in”, and labels.
2016-04-17 12:58:55 -07:00
Jordan Harband
140ce8b56c
[eslint config] [breaking] disallow empty restructuring patterns
2016-04-17 12:52:23 -07:00
Jordan Harband
3efe10d42e
[eslint config] [breaking] disallow empty methods
2016-04-17 12:48:54 -07:00
Jordan Harband
c97bd772b4
[eslint config] [react] separate a11y rules to their own file
2016-04-17 13:22:41 -07:00
Jordan Harband
48ab6d6e76
[eslint config] [react] [semver-minor] enable jsx-indent rule
2016-04-17 13:19:40 -07:00
Jordan Harband
066c3b1a3c
[eslint config] [react] [semver-minor] enable jsx-equals-spacing rule
2016-04-17 13:18:39 -07:00
Jordan Harband
970848f1a2
[eslint config] [semver-minor] enforce spacing inside single-line blocks.
2016-04-17 12:45:37 -07:00
Jordan Harband
c86cfaa6f9
[eslint config] [semver-patch] Enable no-useless-concat rule which prefer-template already covers
2016-04-17 12:53:54 -07:00
Jordan Harband
f468a52d82
[eslint config] [tests] remove parallelshell
2016-04-17 13:15:13 -07:00
Jordan Harband
f268237c71
[eslint config] [react] [semver-minor] Add react/jsx-first-prop-new-line rule
2016-04-17 12:30:28 -07:00
Jordan Harband
4ab741190c
[eslint config] [react] update eslint-plugin-react
2016-04-17 12:28:18 -07:00
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