]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix: eslint with prettier (#25)
authorCédric Exbrayat <cexbrayat@users.noreply.github.com>
Thu, 6 Jan 2022 14:40:32 +0000 (15:40 +0100)
committerGitHub <noreply@github.com>
Thu, 6 Jan 2022 14:40:32 +0000 (22:40 +0800)
index.js

index 32e0a621ba2b4abbca072671dcb75db35987b9a4..e4eabbfc1e7f87fd864ccbe34bf4c227cded2861 100755 (executable)
--- a/index.js
+++ b/index.js
@@ -261,7 +261,7 @@ async function init() {
   }
 
   if (needsEslint) {
-    renderEslint(root, result)
+    renderEslint(root, { needsTypeScript, needsTests, needsPrettier })
   }
 
   // Render code template.