1914 Commits

Author SHA1 Message Date
Jordan Harband
32a674de0b [eslint config] [*] [deps] update eslint, babel-preset-airbnb, eslint-plugin-jsx-a11y 2018-08-03 21:18:03 -07:00
Andrew Scheuermann
a12dec90d1 [guide] [react] boolean in jsx alignment 2018-07-11 16:26:22 -07:00
Jordan Harband
b6a268f780 [eslint config] [react] disable two buggy rules, temporarily 2018-07-09 23:16:25 -07:00
Vse Mozhet Byt
96317f8c79 [guide] fix anchor tag in README.md
Currently, this anchor with missing end tag breaks rendering:

5d1f4b9a49/README.md (arrays--from-iterable)
2018-07-05 16:48:26 +03:00
Jordan Harband
a510095acf [eslint config] [*] [new] add eslint v5 support 2018-06-25 15:06:18 -07:00
Jordan Harband
2037fd82b9 [Tests] link eslint from the base config as well 2018-06-25 15:48:07 -07:00
Jordan Harband
7dda84a335 [eslint config] [deps] [minor] update jsx-a11y plugin; enable label-has-associated-control rule
This is semver-minor, because the `label-has-associated-control` rule is
the same as the `label-has-for` rule, theoretically. Both remain
enabled, but `label-has-for` will be disabled in the future if this rule
proves out.
2018-07-04 22:33:27 -07:00
Mauro Zenoni
5d1f4b9a49 [guide] Updated Arrays Section
- corrected paragraph 4.4 (conversion from iterable to array)
- added paragraph 4.5 (conversion from array-like to array)
2018-07-03 11:51:37 +02:00
Ahmed Tarek
fe8de59977 [eslint-config] [*] [docs] ✏️ fix typo in Readme 2018-07-03 21:18:11 +02:00
Noah Benham
77fdae6a74 Add Cerner to In The Wild
[Cerner](https://github.com/cerner/) uses Airbnb for our JS projects.
2018-07-02 09:17:21 -05:00
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
liyuhang
4702115038 Fix: Typo 2018-06-25 16:08:50 +08:00
Jordan Harband
363bb07765 [eslint config] [deps] update eslint-plugin-react 2018-06-24 22:57:06 -07:00
薛定谔的猫
6a593069e1 [dev deps] update markdownlint-cli 2018-06-25 02:09:32 +08:00
Jordan Harband
8de558b750 [eslint config] [*] [deps] update eslint-plugin-import 2018-06-24 19:41:27 -07:00
薛定谔的猫
2161ddf8d6 Build: add node 10 2018-06-25 02:08:15 +08:00
Jordan Harband
cae920fc30 [eslint config] v17.0.0 eslint-config-airbnb-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 eslint-config-airbnb-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
Vse Mozhet Byt
103f5e2a59 doc: add missing anchor in README.md 2018-06-08 19:49:37 +03:00
Daniel McNally
74fb34f08d Add no-unused-vars to README
This documents the enforced but currently undocumented `no-unused-vars` rule with a brief description, examples, and noting the `"ignoreRestSiblings": true` option.
2018-06-08 02:02:11 -04:00
Jordan Harband
5e260928b6 [eslint config] [react] update eslint-plugin-react 2018-06-03 22:19:41 -07:00
Alejandro García Salas
8a24480119 Fix broken aria roles link in React style guide README 2018-06-03 10:48:10 -07:00
Andrew Macpherson
dfc9da71d9 Add Drupal to In The Wild section. 2018-06-01 01:08:04 +01:00
Alexandre Syenchuk
ae82d76783 Update README.md 2018-05-30 09:06:14 +02: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
Brett
c068d7cbf1 Fix link for Temporal Dead Zone 2018-05-26 13:38:45 -07:00
ParkSB
2ba36de952 [guide] Add backticks 2018-05-05 03:04:38 +09: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
Vse Mozhet Byt
71e54f2af8 doc: fix some nits in README.md
* Add missing anchors for section references.
* Correct a rule description.
2018-05-04 11:11:55 +03:00
Daniel McNally
edf942eeb6 [guide] Add descriptions of enforced rules
This commit adds brief descriptions and examples of rules enforced by the guide that were not previously mentioned in the README.
2018-05-02 01:01: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
Feross Aboukhadijeh
22f01558a0 Add StandardJS to "Other Style Guides" list
StandardJS is one of the top style guides, though like the Google and jQuery styles, it's less popular than the airbnb style. 😀
2018-04-25 20:28:41 -07:00
Nguyễn Tiến Minh
2653730fee [react] add vietnamese 2018-04-21 13:51:56 +07:00
Jordan Harband
5705b8ae6b Revert "Replace flag images with emoji"
This reverts commit 87f97e042d.

Closes #1789.
2018-04-22 14:48:50 -07: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
Joe Lencioni
89bb98e135 Merge pull request #1787 from airbnb/lencioni-patch-2
Replace flag images with emoji
2018-04-19 04:15:39 +08:00
Joe Lencioni
87f97e042d Replace flag images with emoji
We can use emoji for most of these flags, which should make
them look better on higher resolution displays and improve the
loading performance of the style guide a little.

The only flag we have here that does not have a good emoji yet
is the flag of Catalonia, which I left as-is for now.

https://emojipedia.org/flag-for-catalonia-esct/
2018-04-18 11:28:06 -07:00
Jordan Harband
308fb24815 [eslint config] [*] [deps] update eslint-plugin-import 2018-04-13 13:43:43 -07:00