Skip to content

Commit

Permalink
fix: setting trailingComma to es5 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreassk80 authored Jul 17, 2024
1 parent 2c47255 commit 8f73dbf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ module.exports = {
// arrowParens default since Prettier v2.0.0 is "always"
// "avoid" present to avoid reformatting pre v2.0 code.
arrowParens: "avoid",
// trailingComma default since Prettier v3 is "all"
// setting to "es5" for nicer formatting of JSX and less formatting changes.
trailingComma: "es5",
// Cypress overrides: allow longer lines
overrides: [
{
Expand Down

0 comments on commit 8f73dbf

Please sign in to comment.