Files
winos-config/biome.jsonc
EthanShoeDev ac51644bda wip monorepo
2025-12-22 15:37:29 -05:00

90 lines
1.9 KiB
JSON

{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"includes": ["**", "!**/generated", "!!**/dist", "!!**/docs"]
},
"formatter": {
"enabled": true,
"formatWithErrors": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 80,
"attributePosition": "auto",
"bracketSpacing": true,
"bracketSameLine": false
},
"linter": {
"enabled": true,
"rules": {
"style": {
"noHeadElement": "off",
"useBlockStatements": "off",
"useConsistentArrayType": {
"level": "error",
"options": {
"syntax": "generic"
}
},
"noMagicNumbers": "off",
"noNestedTernary": "off"
},
"suspicious": {
"noUnknownAtRules": "off",
"noConsole": "off",
"noShadowRestrictedNames": "off"
},
"nursery": {
"noShadow": "off",
"useMaxParams": "off"
},
"performance": {
"noNamespaceImport": "off",
"noImgElement": "off",
"useTopLevelRegex": "off",
"noBarrelFile": "off"
},
"complexity": {
"noExcessiveCognitiveComplexity": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"jsxQuoteStyle": "single",
"trailingCommas": "all"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"extends": ["ultracite/core"],
"overrides": [
{
"includes": [
"**/{tsconfig,jsconfig}.json",
"**/{tsconfig,jsconfig}.*.json",
"**/*.jsonc"
],
"json": {
"parser": {
"allowComments": true,
"allowTrailingCommas": true
}
}
}
]
}