Skip to content
Permalink
Browse files

Chore: Format style guide links so they can be clicked (#12189)

* Properly format styleguide links

When using the initializer and coming to style guide step, visual studio code terminal doesn't properly format style guide links so when user clicks on one of the links it takes them to e.q `https://github.com/airbnb/javascript)` (note the `)` at the end) 
Putting spaces between links and opening and closing braces fixes this.

* Remove braces around links

Remove braces around links and add a colon at the beginning.
  • Loading branch information
ivandotv authored and aladdin-add committed Nov 13, 2019
1 parent 0f7edef commit a47770706ac59633dcd73e886d1a7282b324ee06
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/init/config-initializer.js
@@ -523,9 +523,9 @@ function promptUser() {
name: "styleguide",
message: "Which style guide do you want to follow?",
choices: [
{ name: "Airbnb (https://github.com/airbnb/javascript)", value: "airbnb" },
{ name: "Standard (https://github.com/standard/standard)", value: "standard" },
{ name: "Google (https://github.com/google/eslint-config-google)", value: "google" }
{ name: "Airbnb: https://github.com/airbnb/javascript", value: "airbnb" },
{ name: "Standard: https://github.com/standard/standard", value: "standard" },
{ name: "Google: https://github.com/google/eslint-config-google", value: "google" }
],
when(answers) {
answers.packageJsonExists = npmUtils.checkPackageJson();

0 comments on commit a477707

Please sign in to comment.
You can’t perform that action at this time.