Commit Graph

510 Commits

Author SHA1 Message Date
Jordan Harband
cd038fb89b v12.0.1 2017-09-27 16:38:49 -04:00
Jordan Harband
b7ff33e79c [eslint config] [base] [deps] update eslint 2017-09-27 16:37:54 -04:00
Jordan Harband
8e29a161f9 [eslint config] [base] [fix] ensure all JSX elements are ignored by indent
Fixes #1569.
2017-09-27 16:33:51 -04:00
Vitaly Makarevich
138aafd2a0 Update CHANGELOG.md
Typo: prefer-restructuring => prefer-destructuring
2017-09-07 17:26:11 +03:00
Stephen Wyatt Bush
074b2f81b8 [eslint config] [breaking] [deps] Upgrade eslint-plugin-jsx-a11y to v6
- enable more a11y rules
2017-07-05 15:47:54 -07:00
Jordan Harband
7b30681227 [eslint config] [breaking] [deps] require eslint v4, update eslint-config-airbnb-base 2017-09-02 10:24:51 -07:00
Jordan Harband
1f5ca4c976 [eslint config] [base] v12.0.0 2017-09-01 22:57:11 -07:00
Jordan Harband
63d1ae175e [Tests] fix linting error caused by updated base config 2017-09-02 09:04:05 -07:00
elmehri
b687a9ceb8 [eslint config] [base] [patch] support Protractor config files in import/no-extraneous-dependencies 2017-08-29 15:27:08 +01:00
Thomas Grainger
f878edad25 [eslint config] [base] [patch] also disallow padding in classes and switches 2017-05-05 11:42:43 +01:00
Jordan Harband
5aa203eaa8 [eslint config] [base] [deps] [breaking] require eslint v4
- enable `function-paren-newline`, `for-direction`, `getter-return`, `no-compare-neg-zero`, `semi-style`, `object-curly-newline`, `no-buffer-constructor`, `no-restricted-globals`, `switch-colon-spacing`, `template-tag-spacing`, `prefer-promise-reject-errors`, `prefer-restructuring`
 - improve `indent`, `no-multi-spaces`, `no-trailing-spaces`, `no-underscore-dangle`
2017-09-01 22:25:31 -07:00
David Walsh
f5cd2869d3 [guide] [eslint config] [base] [breaking] Rules prohibiting global isNaN, isFinite.
- Update README with new Standard Library section.
2017-07-04 12:40:53 +10:00
koooge
5dec8272e0 [eslint config] [base] [breaking] move comma-dangle to Stylistic Issues 2017-08-03 17:57:58 +02:00
Jordan Harband
22672c1cdc [eslint config] [new] add propWrapperFunctions default settings for eslint-plugin-react 2017-08-22 19:44:12 -07:00
Jordan Harband
f93ca2f71d [eslint config] [deps] update eslint v4, eslint-plugin-react 2017-08-22 17:16:31 -07:00
Jordan Harband
db719a2033 [eslint config] [deps] update eslint-config-airbnb-base 2017-08-22 17:10:01 -07:00
Joe Lencioni
68cdc59362 [eslint config] [new] Enable react/jsx-closing-tag-location 2017-08-22 15:38:13 -07:00
Jordan Harband
f1cc91c88a [eslint config] [base] v11.3.2 2017-08-22 15:54:17 -07:00
Jordan Harband
5637c8f4c0 [eslint config] [base] [deps] update eslint, tape 2017-08-22 15:43:40 -07:00
Mark Larah
1cddb4f2c0 [eslint config] [base] [patch] Add jest.config.js to import/no-extraneous-dependencies devDeps 2017-08-14 19:49:29 -07:00
Jordan Harband
6bd73560ee [eslint config] [deps] update eslint v4, eslint-plugin-react, tape 2017-08-09 17:35:23 -07:00
Eric Pan
16faade698 [eslint config] [*] [docs] Specify yarn-specific install instructions
Attempts to clarify and address issue https://github.com/airbnb/javascript/issues/1508#issuecomment-319113807

Recommends yarn users to list peer dependencies and then install each peer dependency with specified version.

Prior yarn instructions led users to install the latest version of each peer dependency which, in some cases, led to errors if the latest version of a peer dependency did not have rules that this package uses.
2017-07-31 11:19:07 -07:00
Will Clark
a206c52854 [eslint config] [base] [patch] Improve Gruntfile glob pattern
To cover `Gruntfile` and `Gruntfile.js` instead of just `Gruntfile`.
2017-07-25 11:41:34 +02:00
Jordan Harband
106a58ec1a [eslint config] [base] v11.3.1 2017-07-24 12:07:43 -07:00
Jordan Harband
0d938aecf2 [eslint config] [base] [fix] legacy: remove top-level ecmaFeatures 2017-07-24 11:58:15 -07:00
Jordan Harband
2c0126543f [eslint config] v15.1.0 2017-07-24 00:00:58 -07:00
Jordan Harband
16c73d0a7a [eslint config] [deps] allow eslint v3 or v4
Closes #1447.
2017-07-23 22:33:05 -07:00
Jordan Harband
583544356a [eslint config] [deps] update eslint-plugin-import, eslint-config-airbnb-base 2017-07-23 22:26:33 -07:00
Jordan Harband
55219bfdcf v11.3.0 2017-07-23 13:08:57 -07:00
Jordan Harband
811392725e [Deps] allow eslint v3 or v4; update eslint-plugin-import
Part of #1447.
2017-07-23 11:35:51 -07:00
Jordan Harband
399420f46f [Tests] add an explicit eslint version to travis.yml 2017-07-23 10:39:12 -07:00
Jordan Harband
b4995b6416 [eslint config] [base] revert breaking part of #1420
I’ll re-enable it in the next major.
2017-07-23 13:04:22 -07:00
Jordan Harband
fc7fae620f [Tests] add pretravis/posttravis scripts 2017-07-04 16:15:18 -07:00
Jordan Harband
7768e01625 [eslint config] [*] Add missing rules 2017-07-04 14:30:29 -07:00
Jordan Harband
e5b403cd49 [eslint config] [base] [deps] update babel-preset-airbnb, eslint-find-rules, eslint-plugin-import, tape 2017-07-04 14:36:47 -07:00
Jordan Harband
c68fa63262 [eslint config] v15.0.2 2017-07-04 12:36:18 -07:00
Jordan Harband
8448706120 [eslint config] [deps] update babel-preset-airbnb, eslint-find-rules, eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-react, tape 2017-07-04 12:32:01 -07:00
Dan Dascalescu
2666db559d Fix typo in a11y for yarn 2017-06-23 22:16:35 -07:00
Dan Dascalescu
cd720b4c7b [eslint config] [*] [docs] add yarn instructions
Fixes #1462.
2017-06-22 09:19:08 -07:00
Jordan Harband
57ff032b07 [eslint config] [base] [minor] no-return-assign: strengthen linting against returning assignments. 2017-06-18 09:27:33 -07:00
elmehri
3a9e1c830f [eslint config] [base] [patch] Support Protractor config files in import/no-extraneous-dependencies 2017-06-15 16:52:48 +01:00
Fernando Pasik
c43fc749c4 [eslint config] [docs] Remove TODO in prefer-reflect as it's deprecated 2017-06-13 22:06:55 +01:00
Radu Serbanescu
00c9e52aec [eslint config] [base] [minor] Balanced spacing for inline block comments
Fixes #1425.
2017-06-07 13:18:38 +03:00
Jordan Harband
5ba31498fe Only apps should have lockfiles. 2017-06-03 23:37:13 -07:00
Ken Powers
f3c9639abe [eslint config] [base] [patch] Allow jsx extensions for test files 2017-05-24 15:43:56 -04:00
Jordan Harband
44ca3c2b3a [eslint config] [deps] update eslint-plugin-jsx-a11y 2017-05-23 12:54:02 -07:00
Jordan Harband
f86aacae44 [eslint config] [fix] jsx should be enabled via parserOptions, not via a root ecmaFeatures.
From https://github.com/airbnb/javascript/issues/1410#issuecomment-303368921
2017-05-23 12:53:26 -07:00
Siddharth Doshi
0dd3dbd7b6 [eslint config] [base] [breaking] Blacklist confusing globals 2017-05-20 15:41:37 +05:30
Vlad Shcherbin
324bf9c834 Fix option typo 2017-05-19 15:04:22 +03:00
Jordan Harband
8cabe49b94 [eslint config] v15.0.1 2017-05-15 17:54:47 -07:00