mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
* Update website deps, remove 1s load time * Run biome migrate * Test without terser plugin * Do not always default to MDX * remove webpack terser plugin * Add some exclusions to website/tsconfig
64 lines
1.3 KiB
JSON
64 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.8.3/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"
|
|
},
|
|
"style": {
|
|
"noNamespace": "error",
|
|
"noNonNullAssertion": "off",
|
|
"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
|
|
}
|
|
}
|