Skip to content

Commit

Permalink
chore: change prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
envil a.k.a pow committed Feb 19, 2024
1 parent c5d57c0 commit 55e1fac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/** @type {import("prettier").Options} */
const config = {
printWidth: 120,
trailingComma: "none",
importOrderSeparation: true,
importOrderSortSpecifiers: true,
importOrderCaseInsensitive: true,
importOrderParserPlugins: ["typescript", "jsx", "mdx"],
importOrder: ["^@/constants/(.*)$", "^@/stores/(.*)$", "^@/utils/(.*)$", "^@/components/(.*)$", "^[./]"],
plugins: [require.resolve("@trivago/prettier-plugin-sort-imports"), require.resolve("prettier-plugin-tailwindcss")]
};

export default config;

0 comments on commit 55e1fac

Please sign in to comment.