diff --git a/prettier.config.js b/prettier.config.js index e3f13b5..51b1994 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -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: [ {