upgrade the project

This commit is contained in:
PrinOrange
2024-04-03 22:08:27 +08:00
parent a615511139
commit ea3597d62f
313 changed files with 10677 additions and 7069 deletions

View File

@@ -1,6 +1,8 @@
{ {
"extends": "next/core-web-vitals", "extends": ["next/core-web-vitals"],
"rules": { "rules": {
"@next/next/no-img-element": "off" "@next/next/no-img-element": "off",
"react/jsx-uses-vars": "error",
"react/jsx-sort-props": 2
} }
} }

3
.prettierignore Normal file
View File

@@ -0,0 +1,3 @@
*.woff2
*.woff2
*.ttf

View File

@@ -1,5 +1,7 @@
{ {
"printWidth": 120, "printWidth": 120,
"endOfLine": "auto", "endOfLine": "auto",
"plugins": ["prettier-plugin-tailwindcss", "prettier-plugin-organize-imports"] "jsxBracketSameLine": true,
"trailingComma": "all",
"plugins": ["prettier-plugin-tailwindcss", "prettier-plugin-organize-imports", "react"]
} }

Some files were not shown because too many files have changed in this diff Show More