Jordan Harband
27e5e20b70
[eslint config] [base] [new] update base ecmaVersion to 2018; remove deprecated experimentalObjectRestSpread option
2018-06-25 14:14:01 -07:00
Jordan Harband
d951220399
[eslint config] [*] [dev deps] update eslint-find-rules
2018-06-25 13:40:38 -07:00
Jordan Harband
363bb07765
[eslint config] [deps] update eslint-plugin-react
2018-06-24 22:57:06 -07:00
Jordan Harband
8de558b750
[eslint config] [*] [deps] update eslint-plugin-import
2018-06-24 19:41:27 -07:00
Jordan Harband
cae920fc30
[eslint config] v17.0.0
2018-06-21 15:22:10 -07:00
Jordan Harband
d14ed5daa7
[eslint config] [breaking] update eslint-config-airbnb-base
2018-06-21 15:16:52 -07:00
Jordan Harband
afe340773f
[eslint config] [base] v13.0.0
2018-06-21 14:46:43 -07:00
Jordan Harband
8be089eb11
[eslint config] fix tests
2018-06-21 14:46:24 -07:00
Jordan Harband
fdb998b38a
[eslint config] [base] fix tests
2018-06-21 14:39:07 -07:00
Jordan Harband
951825c6d2
[eslint config] set forbid-foreign-prop-types to "warn"
2018-06-21 14:22:54 -07:00
Gaurav Paliwal
25e711cedd
[eslint config] [patch] Add new methods introduced in react@16.3
2018-06-20 17:31:00 +05:30
Moritz Kneilmann
068d6b69bf
[eslint config] [base] [patch] Adjust imports for vue-cli
...
Allows the vue-cli config file `vue.config.js` to import `devDependencies` by altering the rule `import/no-extraneous-dependencies`.
2018-05-15 23:54:09 +02:00
Josh Wells
b3bbd1ccbc
[eslint config] [base] [breaking] order of import statements is ignored for unassigned imports
2018-04-11 13:46:34 +01:00
minimooooz
2668495fee
add ES2015-2018 in npm package keywords
2017-10-12 11:17:22 +07:00
Jordan Harband
d270031fc0
[eslint config] [*] [dev deps] update babel-preset-airbnb, tape
2018-06-21 13:28:22 -07:00
Jordan Harband
5e260928b6
[eslint config] [react] update eslint-plugin-react
2018-06-03 22:19:41 -07:00
Jordan Harband
04ab225858
[eslint config] [*] [deps] update eslint-plugin-import, eslint-find-rules, eslint-plugin-react
2018-05-27 08:47:29 -07:00
Jimmy Jia
2bd77bc1e0
[eslint config] [base] [patch] label-has-for: Remove redundant component
...
Also make the rule configuration more explicit.
2018-05-05 22:34:19 -04:00
Thomas Grainger
2d9779907f
[eslint config] [base] [minor] only allow one newline at the end
2018-04-30 09:30:38 +01:00
Joe Lencioni
8c83d03a20
[eslint config] [base] [patch] Allow devDependencies for foo_spec.js naming style
...
Some projects name test files like `foo_spec.js` instead of `foo.spec.js`.
2018-02-15 11:58:17 -08:00
Jordan Harband
fd0834764c
[eslint config] [base] fix tests
2018-04-20 15:19:14 -07:00
Jordan Harband
b56875bee2
[eslint config] [base] [patch] function-paren-newline: change to "consistent"
2018-04-20 14:00:50 -07:00
Jordan Harband
308fb24815
[eslint config] [*] [deps] update eslint-plugin-import
2018-04-13 13:43:43 -07:00
C. T. Lin
8720f5f90b
[eslint config] [base] [patch] avoid __mocks__ no-extraneous-dependencies check
2018-03-28 13:05:12 +08:00
Sharmila
c71e8c9231
[eslint config] [base] [breaking] enable import/no-cycle: warn on cyclical dependencies
2018-04-04 16:15:27 -07:00
Sharmila
31d95fded4
[eslint config] [*] [deps] update eslint, eslint-plugin-import, eslint-find-rules
2018-04-04 16:23:02 -07:00
Naomi Jacobs
8ed1d855bb
[eslint config] [base] [patch] Include 'accumulator' exception for no-param-reassign
2018-03-20 11:40:04 -07:00
Joe Lencioni
49dab881da
Change import/no-self-import from "off" to "error"
...
We recently had an incident where this rule would have prevented
infinite loops in Hypernova and in the browser.
2018-03-23 08:42:42 -07:00
Remco Haszing
8247e338a2
[eslint config] [base] [patch] Set import/extensions to ignorePackages
...
This allows to import non-JavaScript files through the main export of a dependency's package.json.
The following would trigger an error before, but is fine with the new configuration:
```js
import 'roboto-fontface';
```
2017-12-04 10:11:35 +01:00
Remco Haszing
a100a3957f
[eslint config] [base] [breaking] Update object-curly-newline to match eslint 4.18.0
...
In eslint v4.18.0 separate settings are introduced for imports and exports for the `object-curly-newline` rule.
Without this change, there is different behavior when updating eslint to this version.
2018-03-01 14:33:02 +01:00
Pirasis
396166b1d3
[eslint config] [*] [fix] ensure whitespace entry point is compatible with node 4
2018-03-01 12:15:56 +07:00
Jordan Harband
40dbeace17
[Tests] ensure all entry points parse
2018-02-28 23:00:19 -08:00
Sharmila
6373dab990
Adds config entry point with only whitespace rules enabled
...
Adds a change to eslint-config-airbnb and eslint-config-airbnb-base to pull a list of rules from the project root and return a config with all rules turned off except the whitespace rules explicitly listed in the array. Also adds entry point data to readme.
2018-02-27 15:21:29 -08:00
Thomas Grainger
c82500d7fa
[eslint config] [base] [breaking] enable no-useless-path-segments
2018-02-22 01:07:09 +00:00
Jordan Harband
1fbeabd0c4
[eslint config] [*] [breaking] [deps] update eslint, eslint-plugin-import
2018-02-22 13:51:02 -08:00
Honza Javorek
ea14bda110
Add licenses to sub packages
2018-02-22 15:48:50 +01:00
Jordan Harband
3c3074e502
[eslint config] [*] [deps] update eslint, eslint-find-rules, eslint-plugin-react, tape
2018-02-20 00:10:46 -08:00
Jordan Harband
ff1c12178e
[eslint config] [breaking] update eslint-plugin-react to v7.6; update rule configs
2018-01-26 23:31:30 -08:00
Sharmila
e9fff7adbf
[eslint config] [base] [breaking] Prevent line breaks before and after =
2018-01-26 10:57:21 -08:00
Alex Baulch
53b2d7d245
[eslint config] [breaking] bump react pragma to v16; update class-methods-use-this's exceptMethods to include componentDidCatch
2018-01-22 10:42:28 +00:00
Jordan Harband
7dab8371c9
[eslint config] [deps] update eslint
2018-01-20 23:36:32 -08:00
Jordan Harband
7b1ced2bf7
[eslint config] [base] [deps] update eslint
2018-01-20 23:35:21 -08:00
Aditya Agarwal
a08afd77d5
[eslint-config] [*] [docs] add npx shortcut
2018-01-10 20:04:25 +05:30
Jordan Harband
69a3554100
[eslint config] [base] [patch] properly ignore indentation on jsx
...
Fixes #1658 .
2018-01-08 00:52:17 -08:00
Jordan Harband
7b18d7c215
[eslint config] [*] [deps] update eslint
2018-01-08 00:35:15 -08:00
Matias Olivera
eb50272401
Forbid .mjs extension from being specified
2017-11-05 13:23:21 -03:00
Matias Olivera
1d9d25d278
Add .mjs to the list of supported extensions
2017-11-05 13:21:48 -03:00
Pirasis
90235cab7c
[eslint config] [base] [patch] array-callback-return: enable allowImplicit option
2017-12-24 10:06:09 +07:00
Jordan Harband
9061044af0
[eslint config] [*] [deps] update eslint, eslint-plugin-jsx-a11y
2017-12-23 20:25:29 -08:00
Kristóf Poduszló
4817a6b75c
[eslint config] [patch] Add 'to' as a specialLink to the 'anchor-is-valid' a11y rule
...
Support React Router's `<Link to="...">` attribute out of the box.
2017-11-28 19:47:00 +01:00