Skip to content

Commit

Permalink
more stuff added a new script and fixed the navbar in tailwind instea…
Browse files Browse the repository at this point in the history
…d of css but having problems with getting prettier to work (probs because of biome)
  • Loading branch information
Equasa committed Oct 24, 2024
1 parent a593944 commit ee90542
Show file tree
Hide file tree
Showing 15 changed files with 765 additions and 654 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
public
AdminViewPdfs
10 changes: 10 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"plugins": ["prettier-plugin-tailwindcss"],
"tailwindConfig": "./tailwind.config.js",
"tabWidth": 2,
"useTabs": true,
"singleQuote": false,
"jsxSingleQuote": false,
"trailingComma": "es5",
"semi": true
}
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"ignore": ["./src/api"]
},
"formatter": {
"enabled": true,
"enabled": false,
"indentStyle": "tab"
},
"organizeImports": {
Expand Down
22 changes: 5 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"build": "tsc && vite build",
"lint": "biome lint --write ./src",
"preview": "vite preview",
"generate-api": "openapi-ts"
"generate-api": "openapi-ts",
"format": "prettier --write src/**/*.{js,jsx,ts,tsx,css,html}"
},
"dependencies": {
"@hey-api/client-fetch": "^0.4.0",
Expand All @@ -17,7 +18,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.23.1",
"sort-by": "^1.2.0",
"sort-by": "^0.0.2",
"tailwindcss": "^3.4.14"
},
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
Loading

0 comments on commit ee90542

Please sign in to comment.