Commit Graph

572 Commits

Author SHA1 Message Date
Irving Barajas
cdbe705fc4 [inthewild] Adds SwoopApp 2017-01-18 18:32:23 -08:00
Christian Oliff
a6a6f4b488 Update copyright year 2017-01-17 17:09:27 +09:00
Olivier Tassinari
b06c5c6621 Avoid octal number interpretation
Some JavaScript versions interpret numbers as octal if they are written with a leading zero.
Babel interpreter throws with an `Invalid number` message.
2017-01-15 12:39:30 +01:00
oshalygin
712e010f29 Update common function body comment
- This commit provides a canonical way of describing
  that the function body contains code of some sort.
- The convention chosen was '// ...'.
- This change is persisted throughout the readme file
  where appropriate
2017-01-11 15:36:59 -08:00
Greg Werner
73e27ef036 add 3blades reference 2017-01-10 23:27:55 -05:00
Jeff Cousins
b7aabb938d Add semicolon to named function expression variable declaration 2017-01-09 17:10:10 -06:00
Ricardo Ambrogi
097047202e [guide] fix Array name in examples 2017-01-08 11:19:15 -02:00
Kamron Batman
b48438141c [inthewild] Adds BashPros 2016-12-28 12:53:51 -08:00
Felix Sanz
6593964080 Fixed Functions (7.1) JSCS rule 2016-12-29 02:25:03 +01:00
Giang Nguyen
c9edc92a80 [guide] update vietnamese translation link 2016-12-23 18:24:50 +07:00
Pedro Pablo Aste Kompen
6eacbc2aad [guide] Fix chaining example to be consistent with string interpolation 2016-12-21 16:06:56 -03:00
Arturo Pie
898a70e7fe [inthewild] Add Nulogy (https://nulogy.com/) 2016-12-11 11:42:07 -05:00
Eric Churchill
4d68ddc4bb Change "modified" to "increasedByOne" to minimize ambiguity 2016-12-10 23:17:10 -08:00
Sara Gudeman
1df98256d0 [guide] add map example to iterators 2016-12-09 11:29:03 -08:00
Kevin Boudot
a56f239b95 [inthewild] Add Bonhomme 2016-12-08 15:29:06 +01:00
Joe Lencioni
664877a601 Avoid i++ in array spreads example
This style guide recommends using `i += 1` over `i++`. Even though this
appears in a "bad" example, the example will be clearest if it is "bad"
in fewer ways.
2016-12-01 09:11:00 -08:00
Giuseppe Burtini
54aa8f1b35 [guide] Fix no-interpolation template string example
The example showed a template string being used with no interpolation as "good". While it met the rule being described, it violated another rule for no reason.
2016-08-29 08:16:34 -07:00
Pete Pirasis
97575b2087 Fix broken rule reference link import/first 2016-10-27 03:04:31 +07:00
Spen Taylor
38bd170e2c [guide] Update syntax in eol-last examples 2016-11-07 10:39:00 +11:00
Jordan Gensler
9f51fd264b [guide] Add notes on acronyms and initialisms to naming 2016-11-06 10:46:15 -08:00
Andrew Smith
3ab19f07f4 [guide] Fix inconsistency in function expression rules. 2016-10-25 14:47:25 -07:00
Jonathan
535cb799a9 [guide] Mention both num++ and num ++ 2016-11-02 16:02:35 +01:00
Mark Miyashita
556846745c [guide] Separate 19.2 code blocks into diff + javascript sections 2016-11-06 05:19:22 -08:00
Thomas Grainger
7882082954 [eslint config] [base] [breaking] comma-dangle: require trailing commas for functions 2016-11-02 00:56:01 -07:00
Jordan Harband
c51251d17b [guide] add section on multiline function signatures/invocations 2016-11-02 00:48:11 -07:00
Jordan Harband
017dfa81fa [Docs] add reference to spaced-comment rule; flesh out options 2016-10-31 21:36:28 -07:00
Nischay Venkatram
9cbda0f0e7 Updated README - Added sub-section for spaces in comments 2016-10-31 18:38:36 -05:00
Gianfrancø Palumbo
fbfe8812ee DailyJS is not longer being published 2016-10-31 23:55:24 +00:00
dan-h-ch
4acb48b09a Updated README.md - Corrected capitalize on GitHub 2016-10-31 12:22:40 -07:00
Pete Pirasis
05d0634627 Add reference for Object.assign 2016-10-27 03:31:58 +07:00
Mikael Finstad
978c0eecc2 Use import instead of require
Don't recommend the use of require
(See 10.1)
2016-10-16 16:59:23 +02:00
Jordan Harband
a75efdfdb0 [guide] improve ++/-- example.
Fixes #1130.
2016-10-14 22:37:14 -07:00
Simen Bekkhus
b59bfffac3 Enable import/no-webpack-loader-syntax rule 2016-10-13 09:09:10 +02:00
Miles Burton
357cc46da0 Update README.md
Minor oversight generating map object. Need square brackets to generate dynamic key.
2016-10-11 08:44:43 +01:00
Chester How
1483292893 Fix naming typo 2016-10-10 11:21:18 +08:00
Randall Reed, Jr
b7492ffe60 Update comparison recommendation
* Use shortcuts for boolean comparisons
* Use explicit comparisons for strings and numbers
2016-10-08 16:41:45 -04:00
Randall Reed, Jr
d0d260095b Make section numbering consistent
* Renumber items where numbers were skipped
2016-10-08 13:01:54 -04:00
Karan Thakkar
b72bd520b6 Fix rule description 2016-10-07 12:34:36 +05:30
Karan Thakkar
098894efee Remove legacy anchor link. Add dangling comma 2016-10-07 12:16:21 +05:30
Karan Thakkar
6ad315c090 Add section on multi-line imports. Fixes #1051 2016-10-06 14:54:53 +05:30
jcreamer898
8468ed8423 Lonely Planet
Add Lonely Planet to the "In the Wild" list.
2016-09-27 09:13:20 -05:00
Jordan Harband
e8b51b2785 [eslint config] [*] [new] set ecmaVersion to 2017; enable object rest/spread; update babel-preset-airbnb 2016-09-21 17:17:27 -07:00
Jordan Harband
a86d546c61 [Docs] remove yet another wrapped-string "good" example 2016-09-16 16:12:06 -07:00
Harrison Shoff
bd5505b727 [commas] fix traling comma link 2016-09-14 09:42:44 -07:00
Guillaume Verbal
6cdda0737e [guide] Fix typo from #1058 2016-09-12 19:08:10 +08:00
Alexey Raspopov
2a28b9c82f move #variables--unary-increment-decrement to correct section 2016-09-12 10:06:15 +03:00
Guillaume Verbal
7da28d43ad [Docs] update 8.3 to fix conflict with 6.2 (fixes #1058) 2016-09-12 12:18:59 +08:00
Joe Lencioni
ff69c8cb35 Prefer https over http
I checked all of the links in the JS style guide document and converted
as many as I could to use https.
2016-09-08 08:39:18 -07:00
Joe Lencioni
25123199dc Add JavaScript Air to list of Podcasts
It probably wouldn't be a bad idea for us to make a full pass on
updating the resources section, but I noticed the podcasts portion was
missing JS Air.
2016-09-08 08:29:10 -07:00
Joe Lencioni
68b7aeb6dd Add rule about TC39 proposals that haven't reached stage 3
There has been some confusion around which language features should be
used and which should not be used yet. We have a pretty clear-cut rule
at Airbnb about this, which is do not use any TC39 proposals that have
not reached stage 3.

I considered putting this at the very top of the document, but I spotted
this section that seemed to fit.

Addresses #1057
2016-09-08 08:19:27 -07:00