Skip to content

Commit

Permalink
chore: update prettier, run format (#129)
Browse files Browse the repository at this point in the history
* chore: update prettier config

* chore: run format
  • Loading branch information
KevinWu098 authored Jul 23, 2024
1 parent 4564bb5 commit a96d0fa
Show file tree
Hide file tree
Showing 206 changed files with 48,439 additions and 48,309 deletions.
6 changes: 4 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
build
public/static
node_modules
*.yml
*node_modules*
*.yml
sanity-dauci/.sanity/*
sanity-dauci/dist/*
27 changes: 22 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
{
"useTabs": true,
"tabWidth": 4,
"semi": true,
"singleQuote": false,
"printWidth": 80
"tabWidth": 4,
"useTabs": false,
"printWidth": 80,
"plugins": ["@ianvs/prettier-plugin-sort-imports"],
"importOrder": [
"^(react/(.*)$)|^(react$)",
"^(next/(.*)$)|^(next$)",
"<THIRD_PARTY_MODULES>",
"",
"^types$",
"^~/types/(.*)$",
"^~/config/(.*)$",
"^~/lib/(.*)$",
"^~/hooks/(.*)$",
"^~/components/ui/(.*)$",
"^~/components/(.*)$",
"^~/styles/(.*)$",
"^~/app/(.*)$",
"",
"^[./]"
],
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"]
}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,10 @@ Currently, the final build size is about 50kb which isn't nearly big enough to w
### Immediate improvements to be made
- i18n?
- a11y - mouse hover interaction (fields - text, buttons - pointer), semantic html (text component for example should be switched to various h tags)
- pagination for events list
- A lot of styling still needs to be refactored
- i18n?
- a11y - mouse hover interaction (fields - text, buttons - pointer), semantic html (text component for example should be switched to various h tags)
- pagination for events list
- A lot of styling still needs to be refactored
### Later planned updates:
Expand Down
10 changes: 5 additions & 5 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"jsx": "react",
"baseUrl": "src"
},
"include": ["src"]
"compilerOptions": {
"jsx": "react",
"baseUrl": "src"
},
"include": ["src"]
}
Loading

0 comments on commit a96d0fa

Please sign in to comment.