Skip to content

Commit

Permalink
chore: fix import sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
BigJk committed Feb 9, 2024
1 parent 9bfbec7 commit 2d02982
Show file tree
Hide file tree
Showing 71 changed files with 1,023 additions and 509 deletions.
2 changes: 2 additions & 0 deletions frontend/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.json
.DS_Store
9 changes: 6 additions & 3 deletions frontend/.prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,26 @@
"jsxSingleQuote": true,
"singleQuote": true,
"tabWidth": 2,
"plugins": ["@trivago/prettier-plugin-sort-imports"],
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"importOrder": [
"^(.*).(css|scss)$",
"^/img/(.*)$",
"",
"^mithril$",
"^lodash-es",
"",
"<THIRD_PARTY_MODULES>",
"",
"^./(.*)$",
"",
"js/types/(.*)$",
"js/workers/(.*)$",
"js/core/(.*)$",
"",
"js/ui/spectre(.*)$",
"js/ui/components(.*)$",
"js/ui/views/(.*)$",
"js/ui/[^\/]+$"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"parser": "babel-ts"
}
Loading

0 comments on commit 2d02982

Please sign in to comment.