From 2487b6f291c52802c2fcdd5f6b6b33bc9f6d993a Mon Sep 17 00:00:00 2001 From: Batuhan Wilhelm Date: Wed, 24 Apr 2024 17:30:07 +0300 Subject: [PATCH] chore: convert warn biome rules to off for clarity --- biome.json | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/biome.json b/biome.json index 45a5480c7123..115c2bb135b5 100644 --- a/biome.json +++ b/biome.json @@ -37,23 +37,23 @@ "rules": { "recommended": true, "a11y": { - "noAriaHiddenOnFocusable": "warn", - "noAutofocus": "warn", + "noAriaHiddenOnFocusable": "off", + "noAutofocus": "off", "noBlankTarget": "error", - "noNoninteractiveElementToInteractiveRole": "warn", - "noNoninteractiveTabindex": "warn", - "noPositiveTabindex": "warn", - "noSvgWithoutTitle": "warn", - "useAltText": "warn", - "useButtonType": "warn", - "useHtmlLang": "warn", - "useIframeTitle": "warn", - "useKeyWithClickEvents": "warn", - "useKeyWithMouseEvents": "warn", - "useValidAnchor": "warn" + "noNoninteractiveElementToInteractiveRole": "off", + "noNoninteractiveTabindex": "off", + "noPositiveTabindex": "off", + "noSvgWithoutTitle": "off", + "useAltText": "off", + "useButtonType": "off", + "useHtmlLang": "off", + "useIframeTitle": "off", + "useKeyWithClickEvents": "off", + "useKeyWithMouseEvents": "off", + "useValidAnchor": "off" }, "complexity": { - "noBannedTypes": "warn", + "noBannedTypes": "off", "noExtraBooleanCast": "error", "noForEach": "off", "noStaticOnlyClass": "error", @@ -63,7 +63,7 @@ "noUselessRename": "error", "noUselessSwitchCase": "error", "useArrowFunction": "error", - "useLiteralKeys": "warn", + "useLiteralKeys": "off", "useOptionalChain": "error" }, "correctness": { @@ -72,48 +72,48 @@ "noSwitchDeclarations": "error", "noUnreachable": "error", "noUnsafeOptionalChaining": "error", - "useExhaustiveDependencies": "warn" + "useExhaustiveDependencies": "off" }, "performance": { - "noAccumulatingSpread": "warn", - "noDelete": "warn" + "noAccumulatingSpread": "off", + "noDelete": "off" }, "security": { "noDangerouslySetInnerHtml": "error" }, "style": { "noCommaOperator": "error", - "noNonNullAssertion": "warn", - "noParameterAssign": "warn", + "noNonNullAssertion": "off", + "noParameterAssign": "off", "noUnusedTemplateLiteral": "error", "noUselessElse": "error", "useConst": "error", - "useDefaultParameterLast": "warn", + "useDefaultParameterLast": "off", "useSelfClosingElements": "error", "useSingleVarDeclarator": "error", "useTemplate": "error", - "useImportType": "warn", + "useImportType": "off", "useNodejsImportProtocol": "off" }, "suspicious": { - "noArrayIndexKey": "warn", + "noArrayIndexKey": "off", "noAssignInExpressions": "error", "noAsyncPromiseExecutor": "error", - "noConfusingVoidType": "warn", + "noConfusingVoidType": "off", "noControlCharactersInRegex": "error", "noDoubleEquals": "error", "noDuplicateJsxProps": "error", "noDuplicateObjectKeys": "error", "noEmptyInterface": "error", - "noExplicitAny": "warn", + "noExplicitAny": "off", "noFallthroughSwitchClause": "error", "noGlobalIsNan": "error", - "noImplicitAnyLet": "warn", + "noImplicitAnyLet": "off", "noPrototypeBuiltins": "error", "noRedeclare": "error", "noRedundantUseStrict": "error", "noSelfCompare": "error", - "noShadowRestrictedNames": "warn", + "noShadowRestrictedNames": "off", "useDefaultSwitchClauseLast": "error", "useValidTypeof": "error" }