From a47770706ac59633dcd73e886d1a7282b324ee06 Mon Sep 17 00:00:00 2001 From: Ivan V <390700+ivandotv@users.noreply.github.com> Date: Wed, 13 Nov 2019 11:29:20 +0100 Subject: [PATCH] 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. --- lib/init/config-initializer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/init/config-initializer.js b/lib/init/config-initializer.js index 7e408f146d4..28dfad194a7 100644 --- a/lib/init/config-initializer.js +++ b/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();