Commit Graph

742 Commits

Author SHA1 Message Date
Dmitry Semigradsky
e6e6414c97 [guide] Add link to eslint rule for https://github.com/airbnb/javascript#modules--multiline-imports-over-newlines 2020-03-09 12:55:31 +03:00
lagagain
717ba5187a [guide]: add "bigint" type to the primitives type section.
```js
var bn = 123n
```
(with "n" as suffix)
2020-02-28 14:53:58 +08:00
Cain Hall
9890b40677 guide: import/extensions rule documentation 2020-03-02 16:27:57 +11:00
Jordan Harband
41ca203e3e [Dev Deps] update markdownlint-cli 2020-02-07 08:05:47 -10:00
Geo Artemenko
6d05dd898a [eslint config] [*] [readme] normalize multiline word according to merriam-webster 2019-11-22 22:04:23 -05:00
Vse Mozhet Byt
5927c7f706 [guide] fix possible typo 2019-11-08 16:05:06 +02:00
Igor Gassmann
56b75dc359 [guide] Document class-methods-use-this
This PR documents the currently enforced `class-methods-use-this` ESlint rule as discussed in #2129
2019-11-03 21:00:57 +01:00
trg
64b965efe0 [guide] Fix Temporal dead zone link anchor 2019-10-01 01:27:12 +03:00
Tom Prats
7932a52e4b Added Tomify and Traitify to the organizations 2019-09-04 14:11:39 -04:00
Jordan Harband
295d1e61cb [guide] clean up confusing example from bad rebase
... from
820745d610 (diff-04c6e90faac2675aa89e2176d2eec7d8R963-R965)
/ #1863.

Fixes #2071.
2019-08-14 08:46:21 -07:00
JBallin
a344d6c8e7 [guide] [eslint config] [base] [breaking] no-multiple-empty-lines: Restrict empty lines at beginning of file 2019-06-10 13:49:58 -07:00
Sharmila
f6acb789a0 [guide] [eslint config] [base] [breaking] Simplifies no-mixed-operators
- adds warning on mixing `/` and `*` arithmetic operators
- removes warnings on mixing `**` and arithmetic operators
- removes warning on mixing `in` and `instanceof`
- removes warning on mixing `~` with other bitwise operators
- removes mixing of assignment operators with comparison operators
2018-07-10 15:19:05 -07:00
Sharmila
820745d610 [guide] [eslint config] [base] [breaking] Require parens for arrow function args 2018-07-09 18:14:32 -07:00
Yohan Siguret
6c0a884179 [guide] fix dead jsperf links 2019-08-03 01:04:22 +02:00
Mathieu Dutto
030e23b13e [guide] Fix npm package has usage example 2019-07-24 15:36:48 +02:00
Perttu Ristimella
036612ec3d [inthewile] Add Happeo to users list 2019-07-04 14:59:47 +03:00
Glenn Goossens
a9a83d9150 [guide] add link to new version of Google Style Guide
Add link to a newer version of this guide that includes ECMAScript 6th Edition features
2019-06-27 11:37:32 +02:00
Christian Oliff
76ff7c7f79 [editorial] [docs] correct JavaScript capitalization 2019-06-24 22:45:35 +09:00
Kevin Yue
4539dbcf17 [guide] remove redundant spaces 2019-05-24 16:29:24 +08:00
Kimball Bighorse
19701d4a0c [inthewild] Add Coeur d'Alene Tribe 2019-05-09 09:40:43 -07:00
Kévin Berthommier
447466681e [guide] remove extra blank line 2019-04-10 10:22:57 +02:00
Anton Honcharuk
60b96d3222 [guide] Add a 19.9 bullet in a Whitespace section
- with explanations about preventing two blank lines from  appearing consecutively in JavaScript code
2019-02-27 20:25:32 +02:00
Matthias Pries
495a62aaa9 [guide] fix example 4.7 for arrays method callbacks 2019-02-13 13:52:39 +01:00
Zeeshan Ahmad
6ef45d4bab [guide] make "good" example match "bad" example more closely 2019-02-06 14:09:18 +04:00
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