Skip to content

Commit

Permalink
Update the Prettier config in the blueprints
Browse files Browse the repository at this point in the history
This updates the `.prettierrc.js` file so that it only applies the singleQuote config to `.js` (and `.ts`) files. This has the benefit that other file types will still use the default Prettier settings and apps no longer have to add config overrides to ensure that.
  • Loading branch information
Windvis committed Oct 29, 2022
1 parent 29ad3bc commit 3dc6e5a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion blueprints/app/files/.prettierrc.js
@@ -1,5 +1,12 @@
'use strict';

module.exports = {
singleQuote: true,
overrides: [
{
files: '*.{js,ts}',
options: {
singleQuote: true,
},
},
],
};

0 comments on commit 3dc6e5a

Please sign in to comment.