mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
* Fix biome formatting of package.json files to match the yarn one * Ignore package.json This includes a format on the member toggles as that pr got merged while using ESLint formatting and it didn't get updated before merging
64 lines
1.3 KiB
JSON
64 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.8.0/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
|
|
}
|
|
}
|