{ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false }, "files": { "ignoreUnknown": false, "ignore": [".next", "public", "styles/globals.css"] }, "formatter": { "enabled": true, "useEditorconfig": true, "formatWithErrors": false, "indentStyle": "space", "indentWidth": 2, "lineWidth": 100, "attributePosition": "auto", "bracketSpacing": true }, "organizeImports": { "enabled": true }, "linter": { "enabled": true, "rules": { "recommended": true, "nursery": { "useSortedClasses": "error" }, "a11y": { "useKeyWithClickEvents": "off", "noLabelWithoutControl": "off" }, "security": { "noDangerouslySetInnerHtml": "off" }, "complexity": { "noUselessTypeConstraint": "error" }, "correctness": { "noUnusedVariables": "error", "useArrayLiterals": "off", "useExhaustiveDependencies": "off" }, "style": { "noNamespace": "error", "useAsConstAssertion": "error" }, "suspicious": { "noExplicitAny": "off", "noExtraNonNullAssertion": "error", "noMisleadingInstantiator": "error", "noUnsafeDeclarationMerging": "error", "useNamespaceKeyword": "error" } } }, "javascript": { "formatter": { "jsxQuoteStyle": "double", "quoteProperties": "asNeeded", "trailingCommas": "all", "semicolons": "asNeeded", "arrowParentheses": "always", "bracketSameLine": false, "quoteStyle": "double", "attributePosition": "auto", "bracketSpacing": true } }, "overrides": [ { "include": ["*.ts", "*.tsx", "*.mts", "*.cts"], "linter": { "rules": { "correctness": { "noUnusedImports": "error" }, "style": { "noArguments": "error", "noVar": "error", "useConst": "error" }, "suspicious": { "noClassAssign": "off", "noDuplicateClassMembers": "off", "noDuplicateObjectKeys": "off", "noDuplicateParameters": "off", "noFunctionAssign": "off", "noRedeclare": "off", "noUnsafeNegation": "off", "useGetterReturn": "off" } } } } ] }