diff --git a/package.json b/package.json index e6f7563..854922e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "type": "module", - "version": "1.1.19", + "version": "1.1.20", "name": "@mp281x/shared-config", "publishConfig": { "registry": "https://npm.pkg.github.com/@mp281x" }, diff --git a/src/prettier.ts b/src/prettier.ts index d6186c2..3529ddd 100644 --- a/src/prettier.ts +++ b/src/prettier.ts @@ -6,8 +6,9 @@ export default { printWidth: 150, singleQuote: true, trailingComma: 'none', - arrowParens: 'always', + arrowParens: 'avoid', quoteProps: 'consistent', + experimentalTernaries: true, overrides: [{ files: '*.json', options: { parser: 'jsonc' } }], plugins: ['prettier-plugin-svelte', 'prettier-plugin-astro', 'prettier-plugin-tailwindcss'] } satisfies Config