diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 365d73f..0000000 --- a/.prettierrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "semi": false, - "singleQuote": true, - "quoteProps": "as-needed", - "trailingComma": "all", - "bracketSpacing": true, - "bracketSameLine": false, - "arrowParens": "always", - "singleAttributePerLine": true, - "printWidth": 80, - "jsxSingleQuote": true -} diff --git a/.prettierrc.mjs b/.prettierrc.mjs new file mode 100644 index 0000000..fa89386 --- /dev/null +++ b/.prettierrc.mjs @@ -0,0 +1,13 @@ +/** @type {import('prettier').Config} */ +export default { + semi: false, + singleQuote: true, + quoteProps: 'as-needed', + trailingComma: 'all', + bracketSpacing: true, + bracketSameLine: false, + arrowParens: 'always', + singleAttributePerLine: true, + printWidth: 80, + jsxSingleQuote: true, +}