{
	"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
	"vcs": { "enabled": false, "clientKind": "git", "useIgnoreFile": false },
	"files": {
		"ignoreUnknown": false,
		"ignore": ["src/__fixtures__/*.ts", "scripts/local-run.ts"]
	},
	"formatter": { "enabled": true, "indentStyle": "tab" },
	"organizeImports": { "enabled": true },
	"linter": {
		"enabled": true,
		"rules": {
			"recommended": false,
			"complexity": {
				"noBannedTypes": "warn",
				"noExtraBooleanCast": "error",
				"noMultipleSpacesInRegularExpressionLiterals": "error",
				"noStaticOnlyClass": "error",
				"noUselessCatch": "error",
				"noUselessConstructor": "error",
				"noUselessLoneBlockStatements": "error",
				"noUselessRename": "error",
				"noUselessTernary": "error",
				"noUselessTypeConstraint": "error",
				"noUselessUndefinedInitialization": "error",
				"noVoid": "off",
				"noWith": "error",
				"useLiteralKeys": "error",
				"useOptionalChain": "error",
				"useRegexLiterals": "error"
			},
			"correctness": {
				"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"
			},
			"security": { "noGlobalEval": "error" },
			"style": {
				"noCommaOperator": "error",
				"noNamespace": "error",
				"noNonNullAssertion": "warn",
				"noVar": "warn",
				"noYodaExpression": "error",
				"useBlockStatements": "off",
				"useConsistentArrayType": "warn",
				"useConsistentBuiltinInstantiation": "error",
				"useConst": "error",
				"useShorthandFunctionType": "error",
				"useSingleVarDeclarator": "error"
			},
			"suspicious": {
				"noAsyncPromiseExecutor": "error",
				"noCatchAssign": "error",
				"noClassAssign": "error",
				"noCompareNegZero": "error",
				"noConfusingVoidType": "warn",
				"noControlCharactersInRegex": "error",
				"noDebugger": "error",
				"noDoubleEquals": "error",
				"noDuplicateCase": "error",
				"noDuplicateClassMembers": "error",
				"noDuplicateObjectKeys": "error",
				"noDuplicateParameters": "error",
				"noEmptyBlockStatements": "error",
				"noExtraNonNullAssertion": "warn",
				"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": ["./__generated__/**/*"]
	},
	"javascript": {
		"formatter": { "quoteStyle": "single" },
		"globals": ["document", "navigator", "window"]
	},
	"overrides": [
		{
			"include": [
				"**/__tests__/**/*",
				"lib/test-utils/**/*",
				"tests/**/*",
				"scripts/**/*"
			],
			"linter": {
				"rules": {
					"complexity": { "noBannedTypes": "off", "noStaticOnlyClass": "off" },
					"style": { "noNonNullAssertion": "off" }
				}
			}
		}
	]
}
