Files
discordeno/biome.jsonc
Fleny 9e101a0320 fix: adapt biome formatting of package.json files to match the yarn one (#3745)
* 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
2024-07-14 12:59:19 -05:00

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
}
}