Skip to content

Commit

Permalink
fix: all lint, indent (#5)
Browse files Browse the repository at this point in the history
add plugins
- iconify/json
- react-helmet-async
- preline
- unocss
- unocss/preset-icon
  • Loading branch information
0plan authored Dec 6, 2023
1 parent 4a3b3a0 commit 2e36bfd
Show file tree
Hide file tree
Showing 30 changed files with 1,145 additions and 799 deletions.
8 changes: 7 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"singleQuote": true,
"semi": false
"semi": false,
"trailingComma": "all",
"useTabs": false,
"tabWidth": 2,
"printWidth": 80,
"arrowParens": "always",
"plugins": ["prettier-plugin-tailwindcss"]
}
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>VRTN</title>
</head>
<body>
<body class='dark:bg-gray-800'>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
Expand Down
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"private": true,
"version": "0.0.0",
"type": "module",
"engines": {
"node": ">=16",
"pnpm": ">=7"
},
"scripts": {
"dev": "vite",
"build": "vite build",
Expand All @@ -11,25 +15,26 @@
"preview": "vite preview"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.19",
"@mui/material": "^5.14.19",
"i18next": "^23.7.7",
"localforage": "^1.10.0",
"match-sorter": "^6.3.1",
"preline": "^2.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet-async": "^2.0.3",
"react-i18next": "^13.5.0",
"react-router-dom": "^6.20.1",
"usehooks-ts": "^2.9.1",
"zustand": "^4.4.7"
},
"devDependencies": {
"@iconify/json": "^2.2.152",
"@tailwindcss/forms": "^0.5.7",
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@unocss/preset-icons": "^0.58.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.55.0",
Expand All @@ -39,6 +44,7 @@
"postcss": "^8.4.32",
"tailwindcss": "^3.3.6",
"typescript": "^5.3.2",
"unocss": "^0.58.0",
"vite": "^5.0.5",
"vite-tsconfig-paths": "^4.2.1"
}
Expand Down
Loading

0 comments on commit 2e36bfd

Please sign in to comment.