Commit Graph

582 Commits

Author SHA1 Message Date
Leonid Lebedev
8e12091e8f [guide] Update russian translation 2017-01-18 21:00:35 +03:00
Vse Mozhet Byt
cb32f443c9 [guide] fix arrow IIFE call
Currently, it throws.
2017-01-18 07:42:53 +02:00
Vse Mozhet Byt
6e4859d7c6 [guide] remove trailing or leading underscores 2017-01-18 07:33:11 +02:00
Vse Mozhet Byt
231317408f [guide] add trailing commas 2017-01-18 07:27:18 +02:00
Vse Mozhet Byt
9bb29860bc [guide] add spaces 2017-01-18 07:17:30 +02:00
Vse Mozhet Byt
9fdd6d6ffa [guide] add / remove semicolons 2017-01-18 07:15:57 +02:00
Vse Mozhet Byt
d9284873a8 [guide] const -> let 2017-01-18 07:10:09 +02:00
Vse Mozhet Byt
ee492a73ba [guide] comment out ellipses 2017-01-18 07:06:04 +02:00
Vse Mozhet Byt
41fa95eef9 [guide] fix indentation for consistency 2017-01-18 07:02:56 +02:00
Vse Mozhet Byt
d8c3048f24 [guide] ``js -> ``javascript for consistency 2017-01-18 06:56:07 +02:00
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