Commit Graph

718 Commits

Author SHA1 Message Date
Hoang
955f4e93b8 Vietnamese translation 2019-01-13 18:55:49 +07:00
Emily Rohrbough
80920a07c5 Add Terra to README list 2018-12-19 13:06:08 -06:00
Honza Javorek
5d25a2ee61 capitalize means first letter uppercase, the rest lowercase
The examples and the reasoning indicates the author of the rule meant uppercase instead of capitalization. According to Wikipedia, capitalization is "writing a word with its first letter as a capital letter (uppercase letter) and the remaining letters in lower case", while the rule apparently tries to prevent exactly that.
2018-12-18 16:11:26 +01:00
Michael Käfer
064e3bf8d5 :) conflicting with rule 8.2 :D 2018-11-27 20:51:21 +01:00
Kevin Weber
ffe4fe967c [guide] Clarify wording 2018-08-25 22:12:12 -07:00
ernestodebesto
69e34378c6 Examples more consistent with the guidline
comparison operator <= shows better the confusion when using arrow function, than just operator <
2018-09-14 17:20:22 +02:00
NullDev (Chris)
6ece1f58e9 Added NullDev
because why not
2018-11-21 10:51:20 +01:00
NullDev (Chris)
0d6d854b5c [17.2] Added second anchor https://github.com/airbnb/javascript/pull/1960
See requested changes here: https://github.com/airbnb/javascript/pull/1960#pullrequestreview-176797787
2018-11-21 10:48:35 +01:00
KY3LxD
74deb81d1f [editorial] Improve conciseness of README.md 2018-11-12 23:38:19 -08:00
Bikram Sutar
41a13e83ee [19.16] changed Enforce to avoid
Good practice is to avoid spaces between functions and their invocations. But by mistake (I think so) you used the word Enforce instead of Avoid
2018-10-30 15:05:16 +05:30
Martín Anzorena
03a0734fce Add UrbanSim to organizations list 2018-10-17 01:51:06 +08:00
Pirasis Leelatanon
924dfb2682 [doc] add eslint rule reference for no-prototype-builtins 2018-10-03 23:56:48 +07:00
Parul Gupta
9af5ee89eb Updated wording of variable--one-const rule 2018-10-02 16:26:25 +05:30
侯林江
02b4eea345 [guide] update to a better Chinese translation 2017-01-19 18:21:22 +08:00
Robert Alvarez
b8b2a0b0e0 Add Pier1 to the organization list 2018-08-31 15:10:43 -05:00
Kevin Weber
5443d03de2 [guide] Consistently use curly quotes instead of straight quotes in prose 2018-08-26 17:50:48 -07:00
Kevin Weber
fcfd378dd8 Fix outdated link to Airbnb's Neutrino preset 2018-08-25 22:54:31 -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
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
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
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
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
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
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
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
Jordan Harband
5705b8ae6b Revert "Replace flag images with emoji"
This reverts commit 87f97e042d.

Closes #1789.
2018-04-22 14:48:50 -07: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
6088a8f5b5 [guide] remove references to jscs 2018-04-12 15:46:55 -07:00
Eray Çetinay
8956338ee9 [guide] Turkish Translation Link Added 2018-04-08 22:51:19 +03:00
Hernaldo Jesus Henriquez
06998522e1 [guide] fix "bad" comment to be actually bad 2018-04-06 14:53:46 -03:00
Pramod Garg
bd97fca21b [guide] Minor addition of spaces 2018-04-04 22:45:44 +05:30
Shane Mileham
a9f5d519fe Added naming--uppercase section from comment 2018-03-12 11:20:34 -07:00
Estelle
5fd7c6f08c added naming convention of UPPERCASE names 2015-03-23 18:48:19 -07:00
Michael Altamirano
55adae99c9 [guide] Reflect adoption of jest 2018-03-10 17:30:38 -08:00
Rauno
a9fc9d8a0f [docs] [js] add function-paren-newline eslint reference link 2018-03-05 22:24:19 +02:00
Song Xie
a7a7cab504 [guide] Add an anchor for rule 13.7 2018-02-21 14:44:58 -08:00
Rauno Freiberg
901fd85b7c Use single quotes for consistency 2018-02-19 14:58:24 +02:00
Jordan Harband
cfe10c17d3 fix linting error in guide 2018-02-08 21:45:14 -08:00
Kevin Ji
4c870cbd40 [guide] Fix function signature spacing 2018-02-08 11:29:44 -08:00
Gil Birman
c8b1164105 control-statement--value-selection 2 2018-02-08 13:07:34 -08:00
Ajay Poshak
16190d8cb5 Note added for translation 2018-02-04 18:52:51 +05:30
Teddy Katz
c5411a42d2 Suggest using WeakMaps when hidden properties are needed
This updates the "trailing or leading underscores" guideline to suggest an better way to make properties hidden, as an alternative to just removing the underscore and making the property public.
2018-02-04 17:11:01 -05:00
ParkSB
aefff97bd1 Update Korean translation link 2018-01-30 11:49:24 +09:00
David Clark
9a3e6356cf Added GreenChef organization to README 2018-01-28 00:38:48 -07:00
Jérémie Astori
fc99aefc4c [guide] Use acc as reduce accumulator instead of memo to make it valid
In [this part of the `no-param-reassign` configuration](53b2d7d245/packages/eslint-config-airbnb-base/rules/best-practices.js (L174-L175)), `acc` is allowed to be mutated (rule [7.12](https://github.com/airbnb/javascript#functions--mutate-params), but `memo` is not.

This causes the [rule 4.6 example](https://github.com/airbnb/javascript#arrays--callback-return) in the README to actually be invalid.
2018-01-26 13:16:39 -05:00
Sharmila
e9fff7adbf [eslint config] [base] [breaking] Prevent line breaks before and after = 2018-01-26 10:57:21 -08:00