Skip to content

Commit

Permalink
chore: convert warn biome rules to off for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuhanW committed Apr 24, 2024
1 parent effceac commit 2487b6f
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -63,7 +63,7 @@
"noUselessRename": "error",
"noUselessSwitchCase": "error",
"useArrowFunction": "error",
"useLiteralKeys": "warn",
"useLiteralKeys": "off",
"useOptionalChain": "error"
},
"correctness": {
Expand All @@ -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"
}
Expand Down

0 comments on commit 2487b6f

Please sign in to comment.