Skip to content

Commit

Permalink
feat: install @ianvs/prettier-plugin-sort-imports
Browse files Browse the repository at this point in the history
  • Loading branch information
regchiu committed May 27, 2024
1 parent 53822f8 commit 96c0ae2
Show file tree
Hide file tree
Showing 10 changed files with 561 additions and 18 deletions.
15 changes: 14 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,18 @@
"bracketSameLine": false,
"arrowParens": "always",
"singleAttributePerLine": true,
"endOfLine": "lf"
"endOfLine": "lf",
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"importOrder": [
"<TYPES>",
"",
"^react$",
"",
"<BUILT_IN_MODULES>",
"",
"<THIRD_PARTY_MODULES>",
"",
"^[.]",
".css$"
]
}
Loading

0 comments on commit 96c0ae2

Please sign in to comment.