{ "$schema": "https://biomejs.dev/schemas/2.3.13/schema.json", "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, "files": { "ignoreUnknown": false, "includes": [ "**", "!!**/dist", "!!**/dist-electron", "!!**/dist-ssr", "!!**/release", "!!**/.tmp", "!!**/electron/native/**/build" ] }, "formatter": { "enabled": true, "indentStyle": "tab", "formatWithErrors": true, "lineEnding": "lf", "lineWidth": 100, "attributePosition": "auto", "indentWidth": 4 }, "linter": { "enabled": true, "rules": { "recommended": false, "complexity": { "noAdjacentSpacesInRegex": "error", "noBannedTypes": "error", "noExtraBooleanCast": "error", "noUselessCatch": "error", "noUselessEscapeInRegex": "error", "noUselessThisAlias": "error", "noUselessTypeConstraint": "error" }, "correctness": { "noConstAssign": "error", "noConstantCondition": "error", "noEmptyCharacterClassInRegex": "error", "noEmptyPattern": "error", "noGlobalObjectCalls": "error", "noInnerDeclarations": "error", "noInvalidConstructorSuper": "error", "noNonoctalDecimalEscape": "error", "noPrecisionLoss": "error", "noSelfAssign": "error", "noSetterReturn": "error", "noSwitchDeclarations": "error", "noUndeclaredVariables": "error", "noUnreachable": "error", "noUnreachableSuper": "error", "noUnsafeFinally": "error", "noUnsafeOptionalChaining": "error", "noUnusedLabels": "error", "noUnusedVariables": "error", "useExhaustiveDependencies": "warn", "useHookAtTopLevel": "error", "useIsNan": "error", "useValidForDirection": "error", "useValidTypeof": "error", "useYield": "error" }, "style": { "noNamespace": "error", "useArrayLiterals": "error", "useAsConstAssertion": "error", "useComponentExportOnlyModules": "off" }, "suspicious": { "noAssignInExpressions": "error", "noAsyncPromiseExecutor": "error", "noCatchAssign": "error", "noClassAssign": "error", "noCompareNegZero": "error", "noControlCharactersInRegex": "error", "noDebugger": "error", "noDuplicateCase": "error", "noDuplicateClassMembers": "error", "noDuplicateElseIf": "error", "noDuplicateObjectKeys": "error", "noDuplicateParameters": "error", "noEmptyBlockStatements": "error", "noExplicitAny": "error", "noExtraNonNullAssertion": "error", "noFallthroughSwitchClause": "error", "noFunctionAssign": "error", "noGlobalAssign": "error", "noImportAssign": "error", "noIrregularWhitespace": "error", "noMisleadingCharacterClass": "error", "noMisleadingInstantiator": "error", "noNonNullAssertedOptionalChain": "error", "noPrototypeBuiltins": "error", "noRedeclare": "error", "noShadowRestrictedNames": "error", "noSparseArray": "error", "noTsIgnore": "error", "noUnsafeDeclarationMerging": "error", "noUnsafeNegation": "error", "noUselessRegexBackrefs": "error", "noWith": "error", "useGetterReturn": "error" } } }, "javascript": { "formatter": { "quoteStyle": "double" } }, "css": { "parser": { "cssModules": true, "tailwindDirectives": true } }, "overrides": [ { "includes": ["*.ts", "*.tsx", "*.mts", "*.cts"], "linter": { "rules": { "complexity": { "noArguments": "error" }, "correctness": { "noConstAssign": "off", "noGlobalObjectCalls": "off", "noInvalidBuiltinInstantiation": "off", "noInvalidConstructorSuper": "off", "noSetterReturn": "off", "noUndeclaredVariables": "off", "noUnreachable": "off", "noUnreachableSuper": "off" }, "style": { "useConst": "error" }, "suspicious": { "noDuplicateClassMembers": "off", "noDuplicateObjectKeys": "off", "noDuplicateParameters": "off", "noFunctionAssign": "off", "noImportAssign": "off", "noRedeclare": "off", "noUnsafeNegation": "off", "noVar": "error", "useGetterReturn": "off" } } } }, { "includes": ["electron/electron-env.d.ts"], "linter": { "rules": { "style": { "noNamespace": "off" }, "suspicious": { "noExplicitAny": "off" } } } }, { "includes": ["**/*.test.ts", "**/*.test.tsx"], "linter": { "rules": { "correctness": { "noEmptyPattern": "off" }, "suspicious": { "noEmptyBlockStatements": "off" } } } }, { "includes": [ "src/components/video-editor/audio.test.ts", "src/lib/exporter/frameRenderer.test.ts", "src/lib/exporter/localMediaSource.test.ts", "src/lib/exporter/modernFrameRenderer.test.ts" ], "linter": { "rules": { "correctness": { "noUnusedVariables": "off" }, "suspicious": { "noExplicitAny": "off" } } } } ], "assist": { "enabled": true, "actions": { "source": { "organizeImports": "on" } } } }