Commit Graph

1407 Commits

Author SHA1 Message Date
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
152eaa6669 [guide] [react] Update React README ref to jsx-a11y/jsx-space-before-closing 2017-05-09 10:39:35 -07:00
Trevor Sayre
2f912c1dd3 [guide] [react] Update React README ref to jsx-a11y/img-has-alt
https://github.com/evcohen/eslint-plugin-jsx-a11y/pull/220
2017-05-09 13:12:09 -04: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
thomas Bell
3ca86a4a3c added generation tux as in the wild 2017-05-03 14:16:32 -04:00
Vlad Shcherbin
b87cb5cdad [guide] [Fix] react/prefer-stateless-function "ignorePureComponents" option typo 2017-05-01 10:57:49 +03:00
Martin Veith
275d4bba98 Add "Control statements" section 2017-05-01 11:11:31 +02:00
Jordan Harband
ee6b23d862 [guide] remove remaining numbered links used as targets. 2017-04-30 21:19:58 -07:00
Denis Izmaylov
3fe99604e6 Add 'Axept' into 'In the Wild' section 2017-04-29 18:20:56 +03:00
Diego Teliz
83711e089a Add 'InterCity Group' on 'In the Wild' list 2017-04-27 15:03:28 +12:00
Joe Lencioni
17917eedfb Merge pull request #1388 from airbnb/dubin-remove-simply-base
Remove "simply" from Readme in base
2017-04-25 10:51:08 -07:00
Jonathan Dubin
1997f8ee85 Remove "simply" from Readme in base 2017-04-25 10:47:50 -07:00
Joe Lencioni
c2d9fd7762 Merge pull request #1387 from airbnb/dubin-remove-simply
Remove "simply" from Readme
2017-04-25 10:41:48 -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
Martin Veith
8eee1f1b69 [guide] [react] Add missing semicolons 2017-04-22 18:16:18 +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
Joe Lencioni
07d37db67a Merge pull request #1370 from hanzhijue/patch-1
Fix the example of "propTypes"
2017-04-12 07:17:10 -07:00
Kaka
2c0da30904 Fix the example of "propTypes"
This example makes me confused. I guess it missed the use of "children" of good code.
Is the example to explain that you should specify default values for non-required props?

Thanks
2017-04-12 16:43:12 +08:00
Jordan Harband
54be49ab7d Merge pull request #1368 from bl00mber/master
[docs] translation links sorted and updated
2017-04-11 14:26:03 -07:00
Nikita
462ea7dd0a translation links in react guide updated 2017-04-12 02:05:40 +05:00
Nikita
cb027cd002 translation links sorted 2017-04-12 02:01:16 +05:00
Max Kaplan
fa0a82373e adding sourcetoad to users 2017-04-04 09:52:16 -04:00
Jordan Harband
e43bdd98d5 [eslint config] [base] v11.1.3 eslint-config-airbnb-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 eslint-config-airbnb-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
Jaden Dessureault
98f1b19d95 Indent blockquotes in markdown guides
This is required to make sure all code blocks have proper syntax highlighting
2017-03-22 19:55:14 -05:00
Hugo
13dc420a9e Fix Gitter badge in README.md 2017-03-21 12:46:21 +11:00
JPeer264
5797f545d8 [guide] Add array-bracket-newline (close #1338) 2017-03-17 08:48:43 +01: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 eslint-config-airbnb-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
Ivan Zusko
1a2edb9e9e Add ukrainian translation 2017-01-04 10:58:43 +02:00
David Cameron
c9490c698e [guide] Added 'let' to rule defs regarding variables 2017-03-03 14:44:34 -05:00
Tom Wrenn
93e91d3eb9 Add AltSchool to the "In The Wild" section of the README 2017-03-03 11:36:09 -08:00
Tihomir Opacic
5ad25766fb Added OHD to a list of style guide users. 2017-03-01 20:31:43 +01:00