From 2c9f2134cf9798fef930b9c0ad6b8be9cf7325a5 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 26 Feb 2023 00:23:23 +0800 Subject: [PATCH] [feat] add prompt tip --- .chezmoi.toml.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.chezmoi.toml.tmpl b/.chezmoi.toml.tmpl index be36e6a..4e993fa 100644 --- a/.chezmoi.toml.tmpl +++ b/.chezmoi.toml.tmpl @@ -12,12 +12,12 @@ {{- $gitUser = promptString "gitUser" -}} {{- end -}} -{{- $jsLinter := promptString "jsLinter" -}} +{{- $jsLinter := promptString "jsLinter" "js linter standard,eslint" -}} {{- if eq $jsLinter "" -}} {{- $jsLinter = "standard" -}} {{- end -}} -{{- $jsFixer := promptString "jsFixer" -}} +{{- $jsFixer := promptString "jsFixer" "js fixer standard,prettier" -}} {{- if eq $jsFixer "" -}} {{- $jsFixer = "standard" -}} {{- end -}}