Skip to content

Commit

Permalink
Adopt Prettier 3.0 default for trailingComma
Browse files Browse the repository at this point in the history
  • Loading branch information
ltm committed Jul 14, 2023
1 parent c0c498a commit 5470e9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
singleQuote: true, // default: false
quoteProps: 'as-needed',
jsxSingleQuote: false,
trailingComma: 'es5',
trailingComma: 'all',
bracketSpacing: true,
bracketSameLine: false,
arrowParens: 'always',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ionic/prettier-config",
"version": "3.1.0",
"version": "4.0.0",
"description": "Prettier config for Ionic and Capacitor",
"keywords": [],
"homepage": "https://github.com/ionic-team/prettier-config#readme",
Expand Down

0 comments on commit 5470e9f

Please sign in to comment.