Commit Graph

469 Commits

Author SHA1 Message Date
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
Billy Janitsch
fe65e4b649 [eslint config] [patch] Fix reported React version
Fixes #1414.
2017-05-15 12:39:37 -04:00
Jordan Harband
58e6cd323a [eslint config] v15.0.0 2017-05-14 17:05:45 -07:00
Jordan Harband
0449d9b571 [eslint config] [deps] update eslint-config-airbnb-base 2017-05-14 16:58:38 -07:00
Jordan Harband
d48083796c [eslint config] [base] v11.2.0 2017-05-14 16:53:50 -07:00
Siddharth Doshi
5bcb840abe [eslint config] [base] [minor] Disallow unused global variables 2017-05-12 01:08:33 +05:30
Jordan Harband
655886fc87 [eslint config] [deps] update eslint-plugin-react 2017-05-13 14:12:21 -07:00
Jordan Harband
18e5ac9a8c [eslint config] [deps] update eslint-plugin-jsx-a11y 2017-05-09 10:30:16 -07:00
Jordan Harband
d469bb25c1 [eslint config] [deps] [breaking] update eslint-plugin-react
- enable `react/no-will-update-set-state`
 - delete removed rules
 - `jsx-wrap-multilines`: enable `arrow` option
 - `jsx-first-prop-new-line`: change to `multiline-multiprop`
 - disable `jsx-space-before-closing` in favor of `jsx-tag-spacing`
2017-05-05 23:52:17 -07:00
Jordan Harband
01e3977597 [eslint config] [breaking] enable rules:
- `no-autofocus`: enable `ignoreNonDOM`
 - add options to `no-static-element-interactions`

 - remove `onclick-has-role`

 - add `alt-text` (replaces `img-has-alt`)
 - add `interactive-supports-focus` (replaces `onclick-has-focus`)

 - add `no-noninteractive-element-interactions`
 - add `media-has-caption`
 - add `no-interactive-element-to-noninteractive-role`
 - add `no-noninteractive-element-to-interactive-role`
 - add `no-noninteractive-tabindex`
2017-05-05 12:34:00 -07:00
Jordan Harband
121a95d715 [eslint config] [deps] [breaking] update eslint-plugin-jsx-a11y 2017-05-05 12:16:58 -07:00
Jordan Harband
7cef8dad84 [eslint config] [docs] add rule documentation to forbid-elements entry 2017-05-01 12:31:57 -07:00
Jordan Harband
ba35e31c76 [eslint config] [breaking] set default React version to 0.15 2017-05-01 12:22:41 -07:00
Jordan Harband
c9c5f7efbf [eslint config] [minor] enable rules:
- `jsx-max-props-per-line`
 - `void-dom-elements-no-children`
2017-05-01 12:22:24 -07:00
Jordan Harband
bfc85bddba [eslint config] [deps] update eslint-config-airbnb-base, eslint 2017-05-01 12:21:54 -07:00
Vlad Shcherbin
b87cb5cdad [guide] [Fix] react/prefer-stateless-function "ignorePureComponents" option typo 2017-05-01 10:57:49 +03:00
Jonathan Dubin
1997f8ee85 Remove "simply" from Readme in base 2017-04-25 10:47:50 -07:00
Jonathan Dubin
88a070cd0d Remove "simply" from Readme 2017-04-25 10:37:54 -07:00
Nicolas Jakob
7abd9a929c Add rollup.config.*.js to import/no-extraneous-dependencies ignore list 2017-04-24 16:24:54 +02:00
Thomas Rix
71932e1eed [eslint config] Turn ignorePureComponent option on for react/prefer-stateless-function
Otherwise, there is no way to write pure components that don't use state, refs, or lifecycle methods.

Stateless functions are not treated internally as pure components, and are rerendered every time.
2017-04-20 16:51:02 -04:00
Jordan Harband
e43bdd98d5 [eslint config] [base] v11.1.3 2017-04-03 15:44:14 -07:00
Jordan Harband
74071a809c [eslint config] [base] [patch] add error messages to no-restricted-syntax
Fixes #1353.
2017-04-03 15:23:00 -07:00
Jordan Harband
aa9bbf9f49 [eslint config] [base] [deps] update eslint 2017-04-03 15:22:34 -07:00
Jordan Harband
b8d8d6e56f [eslint config] [deps] update eslint-config-airbnb-base, eslint, eslint-plugin-react 2017-03-25 21:32:09 -07:00
Jordan Harband
75d48c7570 [eslint config] [base] v11.1.2 2017-03-25 18:43:29 -07:00
Jordan Harband
ae1c919cd4 [eslint config] [base] [deps] update eslint 2017-03-25 18:40:06 -07:00
Jordan Harband
321fb271bd [eslint config] [*] [deps] update eslint 2017-03-15 18:03:56 -07:00
Christian Bundy
34752644c3 [eslint config] [base] Add ignorePropertyModificationsFor 2017-03-15 14:27:08 +00:00
Jordan Harband
772bbb5b7d [eslint config] [base] [deps] update eslint 2017-03-03 15:08:41 -08:00
Jordan Harband
f9aff60f53 [eslint config] [deps] update eslint, eslint-config-airbnb-base 2017-03-03 14:14:46 -08:00
Jordan Harband
be0315eda1 [eslint config] [base] v11.1.1 2017-03-03 13:35:36 -08:00
Jordan Harband
1f5999b2ed [eslint config] [base] [deps] update eslint
- fill out options in `no-use-before-define`
 - enable `ignoreRestSiblings` in `no-unused-vars`
2017-03-03 13:33:24 -08:00
Steve Mao
bc21501cc7 [eslint config] [base] [minor] add **/*.spec.js as a test files pattern
(see #1131)
2017-02-23 14:13:39 +11:00
Jordan Harband
bbbabf32f8 [eslint config] [deps] update eslint-plugin-react
- semver-patch: `jsx-max-props-per-line` “when” set to “multiline”, but left off for now.
2017-02-19 16:59:00 -08:00
Jordan Harband
2c390ecea9 [eslint config] [breaking] update eslint-plugin-jsx-a11y to v4, enable new rules 2017-02-05 14:00:41 -08:00
Jordan Harband
7e35c2dbfc [eslint config] v14.1.0 2017-02-05 13:07:53 -08:00
Jordan Harband
a8ecaa8a5a [eslint config] [deps] [patch] allow eslint-plugin-jsx-a11y to be v3 or v4. Remove no-marquee rule temporarily. 2017-02-05 10:50:34 -08:00
Jordan Harband
de5cd510b8 [eslint config] [deps] update eslint-config-airbnb-base, babel-preset-airbnb, eslint 2017-02-05 10:43:32 -08:00
Jordan Harband
b6fc6dc7c3 [eslint config] [base] v11.1.0 2017-02-05 10:31:04 -08:00
Jordan Harband
a8d2f94884 [eslint config] [base] update eslint, babel-preset-airbnb 2017-02-05 10:28:13 -08:00
Jordan Harband
d0fb7635bc [eslint config] [base] enable no-multi-assign 2017-01-20 13:45:50 -08:00
Jordan Harband
62a1edecdb [eslint config] [base] [deps] update eslint 2017-01-20 13:44:25 -08:00