mirror of
https://github.com/versia-pub/docs.git
synced 2026-03-13 02:49:16 +01:00
chore: ⬆️ Upgrade dependencies
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 0s
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 0s
This commit is contained in:
parent
bf4384376e
commit
cdc1d6a6a2
23 changed files with 413 additions and 248 deletions
99
biome.json
99
biome.json
|
|
@ -1,30 +1,44 @@
|
|||
{
|
||||
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
||||
"organizeImports": {
|
||||
"enabled": true
|
||||
},
|
||||
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
|
||||
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"all": true,
|
||||
"correctness": {
|
||||
"noNodejsModules": "off",
|
||||
"useImportExtensions": "off",
|
||||
"noUnknownFunction": "off"
|
||||
},
|
||||
"complexity": {
|
||||
"noExcessiveCognitiveComplexity": "off"
|
||||
},
|
||||
"suspicious": {
|
||||
"noReactSpecificProps": "off"
|
||||
"noConsole": "off",
|
||||
"noExplicitAny": "off",
|
||||
"noDuplicateElseIf": "error",
|
||||
"noDocumentCookie": "off",
|
||||
"noReactSpecificProps": "off",
|
||||
"noUnknownAtRules": "off"
|
||||
},
|
||||
"performance": {
|
||||
"useTopLevelRegex": "off"
|
||||
"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",
|
||||
"noNamespaceImport": "off",
|
||||
"useFilenamingConvention": "off",
|
||||
"useNamingConvention": {
|
||||
"level": "warn",
|
||||
|
|
@ -54,28 +68,22 @@
|
|||
"PascalCase",
|
||||
"snake_case"
|
||||
]
|
||||
},
|
||||
{
|
||||
"selector": {
|
||||
"kind": "classMethod",
|
||||
"scope": "any"
|
||||
},
|
||||
"formats": ["camelCase", "PascalCase"]
|
||||
},
|
||||
{
|
||||
"selector": {
|
||||
"kind": "functionParameter",
|
||||
"scope": "any"
|
||||
},
|
||||
"formats": ["snake_case", "camelCase"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"noParameterAssign": "error",
|
||||
"useAsConstAssertion": "error",
|
||||
"useDefaultParameterLast": "error",
|
||||
"useEnumInitializers": "error",
|
||||
"useSelfClosingElements": "error",
|
||||
"useSingleVarDeclarator": "error",
|
||||
"noUnusedTemplateLiteral": "error",
|
||||
"useNumberNamespace": "error",
|
||||
"noInferrableTypes": "error",
|
||||
"noUselessElse": "error"
|
||||
},
|
||||
"nursery": {
|
||||
"noDuplicateElseIf": "warn"
|
||||
}
|
||||
"nursery": {}
|
||||
}
|
||||
},
|
||||
"formatter": {
|
||||
|
|
@ -83,10 +91,27 @@
|
|||
"indentStyle": "space",
|
||||
"indentWidth": 4
|
||||
},
|
||||
"javascript": {
|
||||
"globals": ["Bun"]
|
||||
"overrides": [
|
||||
{
|
||||
"includes": ["**/*.vue"],
|
||||
"linter": {
|
||||
"rules": {
|
||||
"correctness": {
|
||||
"noUnusedImports": "off"
|
||||
},
|
||||
"style": {
|
||||
"useImportType": "off"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git",
|
||||
"useIgnoreFile": true
|
||||
},
|
||||
"files": {
|
||||
"ignore": ["node_modules", ".next", ".output", "out", "public/pl.js"]
|
||||
"includes": ["**", "!public"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue