From 54d329d9181b21d34cbedb8c16fe665b92a06d38 Mon Sep 17 00:00:00 2001 From: Jimmy Guzman <30631540+jimmy-guzman@users.noreply.github.com> Date: Wed, 30 Oct 2024 23:29:05 -0500 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20use=20`typescript`=20`e?= =?UTF-8?q?slint`=20config=20(unstable)=20(#122)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .knip.json | 5 ++++- .lefthook.json | 2 +- .vscode/settings.json | 5 ++++- bun.lockb | Bin 441368 -> 441392 bytes eslint.config.mjs => eslint.config.ts | 3 ++- package.json | 3 ++- 6 files changed, 13 insertions(+), 5 deletions(-) rename eslint.config.mjs => eslint.config.ts (62%) diff --git a/.knip.json b/.knip.json index 6e85425..979bd08 100644 --- a/.knip.json +++ b/.knip.json @@ -1,5 +1,8 @@ { "$schema": "https://unpkg.com/knip@5/schema.json", "ignore": ["src/route-tree.gen.ts"], - "ignoreDependencies": ["gitzy", "@iconify-json/*"] + "ignoreDependencies": ["gitzy", "@iconify-json/*"], + "eslint": { + "entry": ["eslint.config.ts"] + } } diff --git a/.lefthook.json b/.lefthook.json index b43f129..0ead507 100644 --- a/.lefthook.json +++ b/.lefthook.json @@ -5,7 +5,7 @@ "commands": { "lint": { "glob": "*.{js,cjs,ts,tsx}", - "run": "bunx eslint --fix {staged_files}", + "run": "bunx eslint --flag unstable_ts_config --fix {staged_files}", "stage_fixed": true }, "format": { diff --git a/.vscode/settings.json b/.vscode/settings.json index 3d97f68..da3e988 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -28,5 +28,8 @@ ], "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", - "eslint.experimental.useFlatConfig": true + "eslint.useFlatConfig": true, + "eslint.options": { + "flags": ["unstable_ts_config"] + } } diff --git a/bun.lockb b/bun.lockb index 8e5cdb7680f2a4e0eeff32dbbfd8692526670181..f417e02167d44c925fc9d717a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o##;Zvs0sf-kd#kw*$T~OFDbX*oai=c(D%vE|h7K3@!nw_Zz-eGG zI0Fm;=YVs;aNx`6@4;nY1h^cG23LRy$>`%V)w73_%6HKxkyZd-DmQb|?gMjxZ;}mZ z&;GQ#BlddOj};sO_6G-m2k<`(wt=sK-+J5%z5*-2bKnKA8Y~4%z(2`zWht*bcJ3)q z9&ASRx6%#pG%ysL1N_G3RbV3UUBhp7jslm0-vhrh`xOW7C34)z4y*?oz|G(m;ETit z^7!$|mw`Wb4+V!gzhWCJ*5N4lWA#wbl;CC_dEjSW4??qZ%maa8FU5qwYLImXy_a;7hDc}>6-$kf@z>4$W~(E3uQ_0 zGOf4o*A7}cWOo6Vfl*)>n9g2(L+iV9RP2e}9qa*q19k;p;(H&g2a`YnxChwZaVM~w zwFOwp4%x3tKWa8NQQA4oPM~&{b!!6Zv4@8N`z-CFJOUg9DuTi6nVpVyGWG%|gSMbO z@GWOo*j`3^6?X@FfW5#zz-~gj1$_-D0ZNwU{HGD7()vGwJAplRW57P32Cz%cF1T92 z{qwP`-20(Z$V{H0n8`0DV zAUF-!v2+yZLjqsncE&Cbb^*0P9Z(n89drR3E-KD`9)0%h%m>TBO0XQvF2$L%$7Vd( z6;uF6f(F3u8oOuefVPWe=PbXs3sJSQ8uwJ_cU```p@t_1KL# zC2cw6!q}$py&RdW-#PKz7G47#aprF{Uq6)Cdf+f%H_29#+t*PJ{Mb5$ejDMTFNFOe zBhsl;b4lt^ISl-jgubf!YWg{_XJjpS1H1{=f%U+yjpd+#hP#g48g_jw1y6v**75z| zTK6rtKd4PR>H_;A#sS)q!)VwJ2r=+5i9m diff --git a/eslint.config.mjs b/eslint.config.ts similarity index 62% rename from eslint.config.mjs rename to eslint.config.ts index cdd30b6..5a9e17d 100644 --- a/eslint.config.mjs +++ b/eslint.config.ts @@ -1,8 +1,9 @@ -// @ts-check import jimmyDotCodes from "@jimmy.codes/eslint-config"; +// @ts-expect-error missing types import eslintPluginStorybook from "eslint-plugin-storybook"; export default jimmyDotCodes({ autoDetect: true, + // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access overrides: [...eslintPluginStorybook.configs["flat/recommended"]], }); diff --git a/package.json b/package.json index 5173b83..f517362 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "format": "prettier --check --cache .", "format:fix": "prettier --write --cache .", "knip": "knip", - "lint": "eslint --color --cache --cache-location ./node_modules/.cache/eslint .", + "lint": "eslint --flag unstable_ts_config --color --cache --cache-location ./node_modules/.cache/eslint .", "lint:fix": "bun lint --fix", "prepare": "is-ci || lefthook install", "preview": "vite preview", @@ -68,6 +68,7 @@ "gitzy": "5.4.0", "happy-dom": "15.7.4", "is-ci": "3.0.1", + "jiti": "2.3.3", "knip": "5.34.4", "lefthook": "1.8.2", "msw": "2.6.0",