refactor(types,utils,rest,bot)!: Cleanup types & files (#3951)

* Cleanup some un-used & sort types, split files

* Remove commented code from reverse/component.ts

* Fix type error on the bot E2E test

* Add comment, remove DiscordInteractionResponse

* Remove camel.ts

* Error on unusedImport, refactor type imports

* Run biome check

* fix: typo

* Update comments for skuId and defaultValues

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
This commit is contained in:
Fleny
2024-11-09 17:27:55 +01:00
committed by GitHub
co-authored by Awesome Stickz
parent dbf4fda455
commit cfdf77027a
40 changed files with 1819 additions and 2417 deletions
+3 -1
View File
@@ -16,11 +16,13 @@
"rules": {
"recommended": false,
"correctness": {
"noUnusedVariables": "error"
"noUnusedVariables": "error",
"noUnusedImports": "error"
},
"style": {
"noNamespace": "error",
"noNonNullAssertion": "off",
"useImportType": "error",
"useConsistentArrayType": {
"level": "error",
"options": { "syntax": "shorthand" }