{
	"$schema": "https://biomejs.dev/schemas/2.3.12/schema.json",
	"assist": { "actions": { "source": { "organizeImports": "on" } } },
	"files": {
		"includes": [
			"backend/src/**/*.ts",
			"frontend/src/**/*.ts",
			"frontend/src/**/*.tsx",
			"frontend/src/**/*.css",
			"frontend/e2e/**/*.ts",
			"frontend/playwright.config.ts"
		]
	},
	"linter": {
		"enabled": true,
		"rules": {
			"recommended": true,
			"complexity": {
				"noForEach": "off",
				"noImportantStyles": "off"
			},
			"suspicious": {
				"noExplicitAny": "warn",
				"useIterableCallbackReturn": "off",
				"noImplicitAnyLet": "warn",
				"noArrayIndexKey": "warn",
				"noAssignInExpressions": "off"
			},
			"style": {
				"noNonNullAssertion": "off",
				"useConst": "error",
				"noParameterAssign": "off",
				"noNestedTernary": "warn"
			},
			"correctness": {
				"noUnusedVariables": "warn",
				"noUnusedImports": "warn",
				"noUnusedFunctionParameters": "warn",
				"useExhaustiveDependencies": "warn"
			},
			"a11y": {
				"useKeyWithClickEvents": "warn",
				"noSvgWithoutTitle": "off",
				"noStaticElementInteractions": "off",
				"useButtonType": "off",
				"noLabelWithoutControl": "warn"
			}
		}
	},
	"formatter": {
		"enabled": true,
		"indentStyle": "tab",
		"indentWidth": 2,
		"lineWidth": 120
	},
	"javascript": {
		"formatter": {
			"quoteStyle": "double",
			"semicolons": "always",
			"trailingCommas": "es5"
		}
	}
}
