From 2331b01a8df77910ffc7bb3deb47b06300685cd0 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Wed, 24 Jul 2024 02:01:30 +0200 Subject: [PATCH] Change linter config to antfu config and lint code --- README.md | 2 +- app/app.config.ts | 8 +- app/app.vue | 24 +- app/components/AppFooter.vue | 17 +- app/components/AppHeader.vue | 33 +- app/components/AppTitle.vue | 6 +- app/components/content/Activity.vue | 11 +- app/components/content/CatchPhrase.vue | 14 +- app/components/content/HoverText.vue | 8 +- app/components/content/ProseA.vue | 6 +- app/components/content/ProseH2.vue | 18 +- app/components/content/ProseH3.vue | 18 +- app/components/content/ProseIcon.vue | 4 +- app/components/content/Quote.vue | 12 +- app/components/content/Stats.vue | 2 +- app/components/home/Link.vue | 10 +- app/components/uses/Item.vue | 4 +- app/components/uses/List.vue | 18 +- app/pages/index.vue | 8 +- app/pages/uses.vue | 6 +- app/pages/writings/[slug].vue | 17 +- app/pages/writings/index.vue | 13 +- content/uses/apple-airpods-pro.json | 2 +- content/uses/apple-ipad-air.json | 2 +- content/uses/apple-iphone-14-pro.json | 2 +- content/uses/apple-macbook-pro.json | 2 +- content/uses/apple-suite.json | 2 +- content/uses/discord.json | 2 +- content/uses/gaming-computer.json | 2 +- content/uses/google-chrome.json | 2 +- content/uses/jetbrains-suite.json | 2 +- content/uses/logitech-g203.json | 2 +- content/uses/notion.json | 2 +- content/uses/raycast.json | 2 +- content/uses/stack-fullstack.json | 2 +- content/uses/steelseries-apex-9-tkl.json | 2 +- content/uses/themes-fonts.json | 2 +- content/uses/warp.json | 2 +- drizzle.config.ts | 2 +- eslint.config.mjs | 5 +- nuxt.config.ts | 61 +- package.json | 26 +- pnpm-lock.yaml | 3123 ++++++++++------- server/api/posts/[slug].post.ts | 8 +- server/api/posts/like/[slug].put.ts | 4 +- server/api/stats/index.get.ts | 4 +- .../migrations/meta/0000_snapshot.json | 2 +- .../migrations/meta/0001_snapshot.json | 2 +- server/database/migrations/meta/_journal.json | 2 +- server/database/schema.ts | 2 +- server/plugins/migrations.ts | 3 +- tailwind.config.ts | 18 +- types.ts | 2 +- 53 files changed, 1999 insertions(+), 1556 deletions(-) diff --git a/README.md b/README.md index c01b81f..69936d8 100644 --- a/README.md +++ b/README.md @@ -71,4 +71,4 @@ NUXT_PUBLIC_I18N_BASE_URL=... ## 📄 License -[MIT](./LICENSE) © Arthur Danjou \ No newline at end of file +[MIT](./LICENSE) © Arthur Danjou diff --git a/app/app.config.ts b/app/app.config.ts index 7fdceb3..0071b41 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -3,10 +3,10 @@ export default defineAppConfig({ gray: 'neutral', primary: 'gray', container: { - constrained: 'max-w-3xl' + constrained: 'max-w-3xl', }, icons: { - dynamic: true - } - } + dynamic: true, + }, + }, }) diff --git a/app/app.vue b/app/app.vue index d7492b9..ad8c812 100644 --- a/app/app.vue +++ b/app/app.vue @@ -1,3 +1,15 @@ + + - -