Skip to content

Commit

Permalink
organize imports in the front end
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwang401 committed Nov 6, 2023
1 parent 15af8bc commit 3eb0769
Show file tree
Hide file tree
Showing 293 changed files with 6,927 additions and 4,811 deletions.
9 changes: 7 additions & 2 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"tabWidth": 4,
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
"importOrder": ["^@/api/(.*)$", "^@/components/elements/(.*)$", "^@/components/(.*)$", "^[./]"],
"importOrder": [
"^@/api/(.*)$",
"^@/components/elements/(.*)$",
"^@/components/(.*)$",
"^[./]"
],
"plugins": ["@trivago/prettier-plugin-sort-imports"]
}
}
18 changes: 9 additions & 9 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
php:
preset: laravel
disabled:
- no_unused_imports
finder:
not-name:
- index.php
preset: laravel
disabled:
- no_unused_imports
finder:
not-name:
- index.php
js:
finder:
not-name:
- vite.config.js
finder:
not-name:
- vite.config.js
css: true
Loading

0 comments on commit 3eb0769

Please sign in to comment.