mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
118 lines
4 KiB
JSON
118 lines
4 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.2.5/schema.json",
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"suspicious": {
|
|
"noConsole": "off",
|
|
"noExplicitAny": "off",
|
|
"noDuplicateElseIf": "error",
|
|
"noDocumentCookie": "off",
|
|
"noReactSpecificProps": "off",
|
|
"noUnknownAtRules": "off"
|
|
},
|
|
"performance": {
|
|
"noBarrelFile": "off",
|
|
"noNamespaceImport": "off",
|
|
"useTopLevelRegex": "off",
|
|
"noImgElement": "off"
|
|
},
|
|
"correctness": {
|
|
"noUnknownFunction": "off",
|
|
"noUndeclaredVariables": "off",
|
|
"useHookAtTopLevel": "off",
|
|
"noUnusedVariables": "off",
|
|
"noUnusedImports": "off",
|
|
"noUndeclaredDependencies": "off",
|
|
"useImportExtensions": "off",
|
|
"useJsxKeyInIterable": "off",
|
|
"useUniqueElementIds": "off"
|
|
},
|
|
"a11y": {
|
|
"noStaticElementInteractions": "off"
|
|
},
|
|
"complexity": {
|
|
"noExcessiveCognitiveComplexity": "off",
|
|
"noImportantStyles": "off"
|
|
},
|
|
"style": {
|
|
"noDefaultExport": "off",
|
|
"noParameterProperties": "off",
|
|
"useFilenamingConvention": "off",
|
|
"useNamingConvention": {
|
|
"level": "warn",
|
|
"options": {
|
|
"requireAscii": false,
|
|
"strictCase": false,
|
|
"conventions": [
|
|
{
|
|
"selector": {
|
|
"kind": "typeProperty"
|
|
},
|
|
"formats": [
|
|
"camelCase",
|
|
"CONSTANT_CASE",
|
|
"PascalCase",
|
|
"snake_case"
|
|
]
|
|
},
|
|
{
|
|
"selector": {
|
|
"kind": "objectLiteralProperty",
|
|
"scope": "any"
|
|
},
|
|
"formats": [
|
|
"camelCase",
|
|
"CONSTANT_CASE",
|
|
"PascalCase",
|
|
"snake_case"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"noParameterAssign": "error",
|
|
"useAsConstAssertion": "error",
|
|
"useDefaultParameterLast": "error",
|
|
"useEnumInitializers": "error",
|
|
"useSelfClosingElements": "error",
|
|
"useSingleVarDeclarator": "error",
|
|
"noUnusedTemplateLiteral": "error",
|
|
"useNumberNamespace": "error",
|
|
"noInferrableTypes": "error",
|
|
"noUselessElse": "error"
|
|
},
|
|
"nursery": {}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 4
|
|
},
|
|
"overrides": [
|
|
{
|
|
"includes": ["**/*.vue"],
|
|
"linter": {
|
|
"rules": {
|
|
"correctness": {
|
|
"noUnusedImports": "off"
|
|
},
|
|
"style": {
|
|
"useImportType": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"includes": ["**", "!public"]
|
|
}
|
|
}
|