{ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false }, "files": { "ignoreUnknown": false, "ignore": [] }, "formatter": { "enabled": true, "useEditorconfig": true, "formatWithErrors": false, "indentStyle": "tab", "indentWidth": 2, "lineEnding": "lf", "lineWidth": 80, "attributePosition": "auto", "bracketSpacing": true, "ignore": ["**/dist"] }, "organizeImports": { "enabled": true }, "linter": { "enabled": true, "rules": { "recommended": false, "a11y": { "noBlankTarget": "error" }, "complexity": { "noBannedTypes": "error", "noExtraBooleanCast": "error", "noMultipleSpacesInRegularExpressionLiterals": "error", "noStaticOnlyClass": "error", "noUselessCatch": "error", "noUselessConstructor": "error", "noUselessLoneBlockStatements": "error", "noUselessRename": "error", "noUselessTernary": "error", "noUselessThisAlias": "error", "noUselessTypeConstraint": "error", "noUselessUndefinedInitialization": "error", "noVoid": "error", "noWith": "error", "useArrowFunction": "off", "useLiteralKeys": "error", "useOptionalChain": "error", "useRegexLiterals": "error" }, "correctness": { "noChildrenProp": "error", "noConstAssign": "error", "noConstantCondition": "error", "noEmptyCharacterClassInRegex": "error", "noEmptyPattern": "error", "noGlobalObjectCalls": "error", "noInvalidConstructorSuper": "error", "noInvalidUseBeforeDeclaration": "error", "noNewSymbol": "error", "noPrecisionLoss": "error", "noSelfAssign": "error", "noSwitchDeclarations": "error", "noUndeclaredVariables": "off", "noUnreachable": "error", "noUnreachableSuper": "error", "noUnsafeFinally": "error", "noUnusedVariables": "error", "useArrayLiterals": "off", "useIsNan": "error", "useJsxKeyInIterable": "error" }, "security": { "noDangerouslySetInnerHtmlWithChildren": "error", "noGlobalEval": "error" }, "style": { "noCommaOperator": "error", "noNamespace": "error", "noNonNullAssertion": "error", "noVar": "warn", "noYodaExpression": "error", "useBlockStatements": "error", "useConsistentArrayType": { "level": "error", "options": { "syntax": "shorthand" } }, "useConsistentBuiltinInstantiation": "error", "useConst": "error", "useExportType": "error", "useImportType": "error", "useNamingConvention": { "level": "off", "options": { "strictCase": false } }, "useShorthandFunctionType": "error", "useSingleVarDeclarator": "error", "useThrowOnlyError": "off" }, "suspicious": { "noAssignInExpressions": "error", "noAsyncPromiseExecutor": "error", "noCatchAssign": "error", "noClassAssign": "error", "noCommentText": "error", "noCompareNegZero": "error", "noConfusingLabels": "error", "noConfusingVoidType": "error", "noControlCharactersInRegex": "error", "noDebugger": "error", "noDoubleEquals": "error", "noDuplicateCase": "error", "noDuplicateClassMembers": "error", "noDuplicateJsxProps": "error", "noDuplicateObjectKeys": "error", "noDuplicateParameters": "error", "noEmptyBlockStatements": "error", "noEmptyInterface": "error", "noExtraNonNullAssertion": "error", "noFallthroughSwitchClause": "error", "noFunctionAssign": "error", "noGlobalAssign": "error", "noImportAssign": "error", "noMisleadingCharacterClass": "error", "noMisleadingInstantiator": "error", "noPrototypeBuiltins": "error", "noRedeclare": "error", "noSelfCompare": "error", "noShadowRestrictedNames": "error", "noSparseArray": "error", "noUnsafeNegation": "error", "useDefaultSwitchClauseLast": "error", "useValidTypeof": "error" } }, "ignore": [ "**/dist/**", "**/node_modules/**", "**/tsconfig.json", "**/package.json" ] }, "javascript": { "formatter": { "jsxQuoteStyle": "double", "quoteProperties": "asNeeded", "trailingCommas": "all", "semicolons": "asNeeded", "arrowParentheses": "always", "bracketSameLine": false, "quoteStyle": "single", "attributePosition": "auto", "bracketSpacing": true }, "globals": ["document", "navigator", "window"] } }