From 26b695f38ee8d18482d382751db725556f2766a2 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Mon, 6 Jan 2025 18:32:09 -0500 Subject: [PATCH] Cleanup, update prettier config --- files/__addonLocation__/.prettierrc.cjs | 16 +++++++++++++++- index.js | 7 ------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/files/__addonLocation__/.prettierrc.cjs b/files/__addonLocation__/.prettierrc.cjs index d6a52956..7c49e9de 100644 --- a/files/__addonLocation__/.prettierrc.cjs +++ b/files/__addonLocation__/.prettierrc.cjs @@ -2,5 +2,19 @@ module.exports = { plugins: ['prettier-plugin-ember-template-tag'], - singleQuote: true, + overrides: [ + { + files: '*.{js,gjs,ts,gts,mjs,mts,cjs,cts}', + options: { + singleQuote: true, + }, + }, + { + files: '*.{gjs,gts}', + options: { + singleQuote: true, + templateSingleQuote: false, + }, + }, + ], }; diff --git a/index.js b/index.js index cad21139..55ed54d3 100644 --- a/index.js +++ b/index.js @@ -81,13 +81,6 @@ module.exports = { if (options.packageManager === 'pnpm' || options.pnpm) { delete json.workspaces; - - json.pnpm = { - // TODO: update the blueprint's output to ESLint 8 - overrides: { - '@types/eslint': '^7.0.0', - }, - }; } await fs.writeFile(packageJson, JSON.stringify(json, null, 2));