Commit Graph

529 Commits

Author SHA1 Message Date
Sharmila
2676cbfb2f [eslint config] [base] [breaking] Enables nonblock-statement-body-position rule and adds link to guide 2017-10-24 17:49:14 -07:00
Sharmila
8161f32f1f [eslint config] [base] [breaking] no-mixed-operators: only warn on ** and % mixed with arithmetic operators; removes violation against mixing common math operators.
Fixes #1071.
2017-10-20 16:09:16 -07:00
Jordan Harband
94c47734e8 [eslint config] [*] [deps] update eslint-plugin-import 2017-10-20 15:48:09 -07:00
Jordan Harband
8cfc97eee9 [Tests] fix linting tests 2017-10-18 21:28:52 -07:00
Jordan Harband
6f2395a3f1 [eslint config] [base] [breaking] import/named: enable 2017-10-18 14:28:58 -07:00
Jordan Harband
b66d6e42f3 [eslint config] [base] [breaking] lines-between-class-members: set to “always” 2017-10-18 14:27:41 -07:00
Thomas Grainger
01e72b9963 [eslint config] [base] [breaking] no-else-return: disallow else-if 2017-10-18 14:06:04 -07:00
Sharmila
6fbc47256e Fixes test syles 2017-10-18 13:37:49 -07:00
Sharmila
6e1f11185d [eslint config] [base] Enables eslint rule for operator-linebreak
Requiring operators at the beginning of the line makes code more readable. When operators are on the left hand side they mirror the syntax of method chaining and it is easy to see the build of logic in a statement.
2017-10-18 13:37:49 -07:00
Jordan Harband
cf9e17efee [eslint config] v16.1.0 2017-10-16 12:01:21 -07:00
Jordan Harband
ec4b9b109a [eslint config] [deps] update eslint-config-airbnb-base, eslint to v4.9 2017-10-16 12:00:49 -07:00
Jordan Harband
7f61af685c [eslint config] [base] v12.1.0 2017-10-16 11:50:50 -07:00
Jordan Harband
3581bac32f [eslint config] [base] [deps] update eslint to v4.9 2017-10-16 11:42:13 -07:00
Pirasis Leelatanon
62d8d66049 [eslint config] sort peerDependencies in alphabetical order 2017-10-13 10:38:23 +07:00
Jordan Harband
dfbeaaea4b [eslint config] v16.0.0 2017-10-06 10:40:05 -07:00
Jordan Harband
e5b5aeeb6b [eslint config] [breaking] enable/add react rules:
- `react/jsx-curly-brace-presence`
 - `react/no-typos`
 - `react/no-unused-state`
 - `react/no-redundant-should-component-update`
 - `react/default-props-match-prop-types`
2017-10-05 01:01:01 -07:00
Jordan Harband
2c228825a8 [eslint config] [deps] update eslint, eslint-config-airbnb-base, eslint-plugin-react 2017-10-05 00:55:14 -07:00
Jordan Harband
ad3746672e [eslint config] [base] v12.0.2 2017-10-05 00:03:21 -07:00
Jordan Harband
a8155091ff [eslint config] [base] [deps] update eslint 2017-10-05 00:02:31 -07:00
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