{
	"$schema": "../node_modules/oxlint/configuration_schema.json",
	"plugins": ["typescript"],
	"rules": {
		"typescript/use-unknown-in-catch-callback-variable": "error",
		"typescript/switch-exhaustiveness-check": "error",
		"typescript/return-await": ["error", "error-handling-correctness-only"],
		"typescript/restrict-plus-operands": "warn",
		"typescript/require-await": "warn",
		"typescript/related-getter-setter-pairs": "warn",
		"typescript/promise-function-async": "error",
		"typescript/prefer-return-this-type": "warn",
		"typescript/prefer-reduce-type-parameter": "warn",
		"typescript/prefer-promise-reject-errors": "error",
		"typescript/prefer-optional-chain": "warn",
		"typescript/prefer-nullish-coalescing": "warn",
		"typescript/prefer-literal-enum-member": "warn",
		"typescript/prefer-includes": "error",
		"typescript/only-throw-error": "error",
		"typescript/non-nullable-type-assertion-style": "warn",
		"typescript/no-unsafe-return": "warn",
		"typescript/no-unsafe-member-access": "warn",
		"typescript/no-unsafe-enum-comparison": "warn",
		"typescript/no-unsafe-call": "warn",
		"typescript/no-unsafe-assignment": "warn",
		"typescript/no-unsafe-argument": "warn",
		"typescript/no-unnecessary-type-assertion": "error",
		"typescript/no-unnecessary-type-arguments": "warn",
		"typescript/no-unnecessary-template-expression": "error",
		"typescript/no-unnecessary-boolean-literal-compare": "error",
		"typescript/no-mixed-enums": "warn",
		"typescript/no-misused-promises": "warn",
		"typescript/no-deprecated": "warn",
		"typescript/no-confusing-void-expression": "warn"
	}
}
