Commit Graph

595 Commits

Author SHA1 Message Date
David Cameron
c9490c698e [guide] Added 'let' to rule defs regarding variables 2017-03-03 14:44:34 -05:00
Tom Wrenn
93e91d3eb9 Add AltSchool to the "In The Wild" section of the README 2017-03-03 11:36:09 -08:00
Tihomir Opacic
5ad25766fb Added OHD to a list of style guide users. 2017-03-01 20:31:43 +01:00
Harrison Shoff
5ca6d46b7c [resources] add link to neutrino preset
https://neutrino.js.org/presets/neutrino-preset-airbnb-base/
2017-02-25 14:12:37 -08:00
Adam Walsh
840d021d07 Add Honey to list of users 2017-02-22 10:08:38 -08:00
Josh Duck
8cab89e792 Add note to explain what a soft tab is
A quick Google search shows that the name "soft tab" causes some confusion. Added a brief clarification.
2017-02-14 10:44:25 +10:00
Sota Yamashita
c29e615be4 [inthewild] remove deleted repositories 2017-02-12 12:13:35 +09:00
nprescott
ec42fbecbf [guide] README update for JSCS deprecated links 2017-01-22 11:11:08 -05:00
Colin Hamer
6435f8ff23 [inthewild] Adds CaseNine 2017-02-09 10:16:00 +01:00
Eric Martin
4d024be5a4 [guide] Added documentation for arrow function parens with one arg
Added explanation for using parentheses with explicit returns and alternatives with the eslint "always" option.
2017-02-02 19:13:13 -05:00
Robin Pokorný
9375fb59b3 [guide] Use const when not reassigning reference 2017-02-02 13:31:10 +01:00
Florian Berger
e22f02cda3 Update React link in organizations 2017-02-01 19:22:34 +02:00
Florian Berger
897b8fcc1c Change function order in functions (7.1) example
Part 7.1 says first why function declarations are not good and
after that it recommends to give a name to function expression.
The same order could be used in example too.
2017-02-01 18:34:02 +02:00
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