Skip to content

Commit

Permalink
Chore: Format style guide links so they can be clicked (#12189)
Browse files Browse the repository at this point in the history
* 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 a477707
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/init/config-initializer.js
Expand Up @@ -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();
Expand Down

0 comments on commit a477707

Please sign in to comment.