Skip to content

Commit

Permalink
feat: update prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 authored Jul 21, 2024
1 parent ba34884 commit 054903a
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
{
"tabWidth": 4,
"useTabs": false,
"plugins": ["prettier-plugin-tailwindcss"]
"printWidth": 80,
"plugins": [
"@ianvs/prettier-plugin-sort-imports",
"prettier-plugin-tailwindcss"
],
"importOrder": [
"^(react/(.*)$)|^(react$)",
"^(next/(.*)$)|^(next$)",
"<THIRD_PARTY_MODULES>",
"",
"^types$",
"^~/types/(.*)$",
"^~/config/(.*)$",
"^~/lib/(.*)$",
"^~/hooks/(.*)$",
"^~/components/ui/(.*)$",
"^~/components/(.*)$",
"^~/styles/(.*)$",
"^~/app/(.*)$",
"",
"^[./]"
],
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"]
}

0 comments on commit 054903a

Please sign in to comment.