diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index f39abf11..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: 2 -enable-beta-ecosystems: true -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" - - package-ecosystem: "bun" - directory: "/" - schedule: - interval: "daily" diff --git a/.husky/pre-commit b/.husky/pre-commit index c326e2ab..b728b4c4 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -18,7 +18,7 @@ fi # Stage changes made by Prettier echo "📂 Staging formatting changes..." -git add . +git add -u # Ensure there are staged changes before proceeding if git diff --cached --quiet; then diff --git a/.prettierrc.cjs b/.prettierrc.cjs index b37585a7..d72b006a 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -4,4 +4,13 @@ module.exports = { singleQuote: false, tabWidth: 2, plugins: ["prettier-plugin-tailwindcss"], + overrides: [ + { + files: ["*.json", "*.jsonc", "wrangler.jsonc"], + options: { + trailingComma: "none", + singleQuote: false, + }, + }, + ], }; diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..bafcfae4 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,13 @@ +{ + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true + }, + "[jsonc]": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true + }, + "prettier.requireConfig": true +} diff --git a/app/(main)/download/[platform]/page.tsx b/app/(main)/download/[platform]/page.tsx index 57c8e588..445d92b4 100644 --- a/app/(main)/download/[platform]/page.tsx +++ b/app/(main)/download/[platform]/page.tsx @@ -1,5 +1,4 @@ import { DownloadHero } from "@/components/sections/download/DownloadHero"; -import { DownloadThreeSteps } from "@/components/sections/download/DownloadThreeSteps"; import { DownloadSupportedPlatform } from "@/components/sections/download/DownloadSupportedPlatform"; import { DownloadInformation } from "@/components/sections/download/DownloadInformation"; import { Metadata } from "next"; @@ -31,7 +30,6 @@ export default async function DownloadPlatform({ return (
-