mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
* 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>
66 lines
1.4 KiB
JSON
66 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": false,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineEnding": "lf",
|
|
"lineWidth": 150
|
|
},
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": false,
|
|
"correctness": {
|
|
"noUnusedVariables": "error",
|
|
"noUnusedImports": "error"
|
|
},
|
|
"style": {
|
|
"noNamespace": "error",
|
|
"noNonNullAssertion": "off",
|
|
"useImportType": "error",
|
|
"useConsistentArrayType": {
|
|
"level": "error",
|
|
"options": { "syntax": "shorthand" }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"trailingCommas": "all",
|
|
"semicolons": "asNeeded",
|
|
"quoteStyle": "single"
|
|
}
|
|
},
|
|
"json": {
|
|
"parser": {
|
|
"allowComments": true,
|
|
"allowTrailingCommas": true
|
|
}
|
|
},
|
|
"files": {
|
|
"ignore": [
|
|
// Ignore the package.json and leave yarn to format it
|
|
"package.json",
|
|
"node_modules",
|
|
// Ignore turbo and docusaurus cache/stuff
|
|
".docusaurus",
|
|
".turbo",
|
|
// Remove the yarn script as it is minified
|
|
".yarn",
|
|
// Ignore build outputs
|
|
"bunTestsDist",
|
|
"build",
|
|
"coverage",
|
|
"denoTestsDist",
|
|
"dist"
|
|
],
|
|
"ignoreUnknown": true
|
|
}
|
|
}
|