{ "$schema": "../node_modules/@biomejs/biome/configuration_schema.json", "root": false, "linter": { "enabled": true, "rules": { "recommended": true, "correctness": { "noUnusedVariables": "error", "noUnusedImports": "error", "noEmptyPattern": "off", "useExhaustiveDependencies": "off", "noVoidTypeReturn": "error", "noVueDataObjectDeclaration": "error", "noVueDuplicateKeys": "error", "noVueReservedKeys": "error", "noVueReservedProps": "error", "noVueSetupPropsReactivityLoss": "warn" }, "style": { "noParameterAssign": "error", "useAsConstAssertion": "error", "useDefaultParameterLast": "error", "useEnumInitializers": "error", "useSelfClosingElements": "error", "useSingleVarDeclarator": "error", "noUnusedTemplateLiteral": "error", "useNumberNamespace": "error", "noInferrableTypes": "error", "useArrayLiterals": "error", "useConsistentArrayType": { "level": "error", "options": { "syntax": "shorthand" } }, "useShorthandAssign": "error", "noNonNullAssertion": "warn" }, "suspicious": { "noDebugger": "off", "noDoubleEquals": "off", "noExplicitAny": "off", "noApproximativeNumericConstant": "off", "noAsyncPromiseExecutor": "off", "noEmptyBlockStatements": "off", "noConsole": "off", "noArrayIndexKey": "warn" }, "complexity": { "noUselessConstructor": "off", "noBannedTypes": "off", "useLiteralKeys": "off", "useArrowFunction": "error", "useDateNow": "off", "noUselessFragments": "off", "noExcessiveCognitiveComplexity": "off" }, "performance": { "noAccumulatingSpread": "off", "noDelete": "warn" }, "a11y": { "useSemanticElements": "off", "useAltText": "warn", "useButtonType": "warn" }, "security": { "noDangerouslySetInnerHtml": "warn" }, "nursery": { "noVueArrowFuncInWatch": "warn", "noVueVIfWithVFor": "error", "useVueConsistentDefinePropsDeclaration": "warn", "useVueConsistentVBindStyle": "warn", "useVueConsistentVOnStyle": "warn", "useVueDefineMacrosOrder": "warn", "useVueVForKey": "error", "useVueValidTemplateRoot": "error", "useVueValidVBind": "error", "useVueValidVIf": "error", "useVueValidVElse": "error", "useVueValidVElseIf": "error", "useVueValidVOn": "warn", "useVueValidVHtml": "warn" } } }, "formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2, "lineWidth": 100, "lineEnding": "lf" }, "javascript": { "globals": [ "defineProps", "defineEmits", "defineExpose", "withDefaults", "defineModel", "defineOptions", "defineSlots" ], "parser": { "unsafeParameterDecoratorsEnabled": true }, "formatter": { "enabled": true, "semicolons": "asNeeded", "arrowParentheses": "always", "bracketSameLine": false, "trailingCommas": "all", "attributePosition": "multiline", "quoteStyle": "double", "jsxQuoteStyle": "double", "bracketSpacing": true } }, "css": { "formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2, "lineWidth": 100, "quoteStyle": "double" }, "linter": { "enabled": true } }, "html": { "formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2, "lineWidth": 100 } } }