115 lines
2.4 KiB
JSON
115 lines
2.4 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.1.1/schema.json",
|
|
"extends": ["ultracite"],
|
|
"javascript": {
|
|
"globals": ["Liveblocks"]
|
|
},
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"useSortedAttributes": "off"
|
|
}
|
|
}
|
|
},
|
|
"linter": {
|
|
"rules": {
|
|
"nursery": {},
|
|
"style": {
|
|
"noParameterProperties": "off",
|
|
"noNonNullAssertion": "off",
|
|
"noEnum": "off"
|
|
},
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "off"
|
|
},
|
|
"suspicious": {
|
|
"noArrayIndexKey": "off",
|
|
"noEmptyBlockStatements": "off",
|
|
"noExplicitAny": "off",
|
|
"noConsole": "off"
|
|
},
|
|
"a11y": {
|
|
"noSvgWithoutTitle": "off"
|
|
},
|
|
"complexity": {
|
|
"noExcessiveCognitiveComplexity": {
|
|
"level": "warn",
|
|
"options": {
|
|
"maxAllowedComplexity": 20
|
|
}
|
|
},
|
|
"noBannedTypes": "off"
|
|
},
|
|
"correctness": {
|
|
"noUnusedVariables": {
|
|
"fix": "none",
|
|
"level": "error"
|
|
},
|
|
"noUnusedImports": {
|
|
"fix": "none",
|
|
"level": "error"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"includes": ["**/tsconfig.json", "**/tsconfig.*.json"],
|
|
"json": {
|
|
"parser": {
|
|
"allowComments": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["**/apps/webui/src/infra/graphql/gql/**/*"],
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "off"
|
|
}
|
|
}
|
|
},
|
|
"linter": {
|
|
"rules": {
|
|
"style": {
|
|
"useConsistentArrayType": "off",
|
|
"useImportType": "off"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"includes": ["**/apps/webui/src/components/ui/**/*"],
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "double"
|
|
}
|
|
},
|
|
"linter": {
|
|
"rules": {
|
|
"style": {
|
|
"useBlockStatements": "off",
|
|
"useImportType": "off",
|
|
"noNestedTernary": "off"
|
|
},
|
|
"nursery": {
|
|
"useSortedClasses": "off"
|
|
},
|
|
"a11y": {
|
|
"noRedundantRoles": "off",
|
|
"useFocusableInteractive": "off",
|
|
"useSemanticElements": "off"
|
|
},
|
|
"complexity": {
|
|
"noExcessiveCognitiveComplexity": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"files": {
|
|
"includes": ["**", "!**/.vscode/**/*.json"]
|
|
}
|
|
}
|