Skip to content

Commit

Permalink
feat: update deps and biome linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
atheck committed Nov 27, 2023
1 parent 864f6a4 commit c81389d
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 128 deletions.
31 changes: 19 additions & 12 deletions biomeLinting.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"noBlankTarget": "error",
"noDistractingElements": "error",
"noHeaderScope": "error",
"noInteractiveElementToNoninteractiveRole": "error",
"noNoninteractiveElementToInteractiveRole": "error",
"noNoninteractiveTabindex": "error",
"noPositiveTabindex": "error",
Expand All @@ -18,6 +19,7 @@
"noSvgWithoutTitle": "error",
"useAltText": "error",
"useAnchorContent": "error",
"useAriaActivedescendantWithTabindex": "error",
"useAriaPropsForRole": "error",
"useButtonType": "error",
"useHeadingContent": "error",
Expand All @@ -38,6 +40,7 @@
"noForEach": "error",
"noMultipleSpacesInRegularExpressionLiterals": "error",
"noStaticOnlyClass": "error",
"noThisInStatic": "error",
"noUselessCatch": "error",
"noUselessConstructor": "error",
"noUselessEmptyExport": "error",
Expand All @@ -49,6 +52,7 @@
"noUselessTypeConstraint": "error",
"noVoid": "error",
"noWith": "error",
"useArrowFunction": "error",
"useFlatMap": "error",
"useLiteralKeys": "error",
"useOptionalChain": "error",
Expand All @@ -60,11 +64,12 @@
"noConstAssign": "error",
"noConstantCondition": "error",
"noConstructorReturn": "error",
"noEmptyCharacterClassInRegex": "error",
"noEmptyPattern": "error",
"noGlobalObjectCalls": "error",
"noInnerDeclarations": "error",
"noInvalidConstructorSuper": "error",
"noNewSymbol": "error",
"noInvalidNewBuiltin": "error",
"noNonoctalDecimalEscape": "error",
"noPrecisionLoss": "error",
"noRenderReturnValue": "error",
Expand Down Expand Up @@ -109,6 +114,8 @@
"noRestrictedGlobals": "off",
"noShoutyConstants": "error",
"noUnusedTemplateLiteral": "error",
"noUselessElse": "error",
"useAsConstAssertion": "error",
"noVar": "error",
"useBlockStatements": "error",
"useCollapsedElseIf": "error",
Expand All @@ -122,12 +129,14 @@
"useNumericLiterals": "error",
"useSelfClosingElements": "error",
"useShorthandArrayType": "error",
"useShorthandAssign": "error",
"useSingleCaseStatement": "error",
"useSingleVarDeclarator": "error",
"useTemplate": "error",
"useWhile": "error"
},
"suspicious": {
"noApproximativeNumericConstant": "error",
"noArrayIndexKey": "error",
"noAssignInExpressions": "error",
"noAsyncPromiseExecutor": "error",
Expand Down Expand Up @@ -156,6 +165,8 @@
"noGlobalIsNan": "error",
"noImportAssign": "error",
"noLabelVar": "error",
"noMisleadingInstantiator": "error",
"noMisrefactoredShorthandAssign": "error",
"noPrototypeBuiltins": "error",
"noRedeclare": "error",
"noRedundantUseStrict": "error",
Expand All @@ -171,23 +182,19 @@
"useValidTypeof": "error"
},
"nursery": {
"noApproximativeNumericConstant": "error",
"noAriaHiddenOnFocusable": "error",
"noDefaultExport": "error",
"noDuplicateJsonKeys": "error",
"noEmptyBlockStatements": "error",
"noEmptyCharacterClassInRegex": "error",
"noInteractiveElementToNoninteractiveRole": "error",
"noInvalidNewBuiltin": "error",
"noMisleadingInstantiator": "error",
"noMisrefactoredShorthandAssign": "error",
"noImplicitAnyLet": "error",
"noUnusedImports": "error",
"noUselessElse": "error",
"noUnusedPrivateClassMembers": "error",
"noUselessLoneBlockStatements": "off",
"useAriaActivedescendantWithTabindex": "error",
"useArrowFunction": "error",
"useAsConstAssertion": "error",
"useAwait": "error",
"useGroupedTypeImport": "error",
"useImportRestrictions": "error",
"useShorthandAssign": "error"
"useRegexLiterals": "error",
"useValidAriaRole": "error"
}
}
}
Expand Down
Loading

0 comments on commit c81389d

Please sign in to comment.