Skip to content

Commit

Permalink
Cleanup, update prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Jan 6, 2025
1 parent 5ab13e1 commit 26b695f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
16 changes: 15 additions & 1 deletion files/__addonLocation__/.prettierrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
],
};
7 changes: 0 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 26b695f

Please sign in to comment.