CLI:
Version: 1.8.3
Color support: true
Platform:
CPU Architecture: x86_64
OS: macos
Environment:
BIOME_LOG_DIR: unset
NO_COLOR: unset
TERM: "xterm-256color"
JS_RUNTIME_VERSION: "v18.20.2"
JS_RUNTIME_NAME: "node"
NODE_PACKAGE_MANAGER: unset
Biome Configuration:
Status: Loaded successfully
Formatter disabled: true
Linter disabled: false
Organize imports disabled: true
VCS disabled: true
Linter:
JavaScript enabled: true
JSON enabled: true
CSS enabled: false
Recommended: true
All: false
Enabled rules:
performance/noDelete
suspicious/noCatchAssign
suspicious/noUnsafeNegation
complexity/noMultipleSpacesInRegularExpressionLiterals
a11y/useValidLang
complexity/noUselessEmptyExport
suspicious/useNamespaceKeyword
suspicious/useValidTypeof
a11y/useValidAriaRole
correctness/noConstantCondition
a11y/useAriaActivedescendantWithTabindex
suspicious/noDuplicateParameters
style/useDefaultParameterLast
complexity/noEmptyTypeParameters
correctness/noConstructorReturn
style/useSelfClosingElements
correctness/noUnusedLabels
correctness/noUnreachableSuper
suspicious/noCompareNegZero
correctness/noUnsafeOptionalChaining
correctness/noConstAssign
suspicious/noControlCharactersInRegex
suspicious/noRedundantUseStrict
suspicious/noDoubleEquals
style/useLiteralEnumMembers
suspicious/noEmptyInterface
suspicious/noConstEnum
suspicious/noMisleadingCharacterClass
correctness/noPrecisionLoss
correctness/noStringCaseMismatch
correctness/noSetterReturn
correctness/noInvalidConstructorSuper
suspicious/noDuplicateObjectKeys
suspicious/noUnsafeDeclarationMerging
correctness/noUnreachable
suspicious/noFallthroughSwitchClause
complexity/noUselessThisAlias
complexity/noThisInStatic
suspicious/noDuplicateCase
complexity/useRegexLiterals
correctness/noSelfAssign
style/useShorthandFunctionType
a11y/useMediaCaption
complexity/noUselessLabel
complexity/noUselessCatch
correctness/noUnsafeFinally
a11y/useAriaPropsForRole
correctness/noNonoctalDecimalEscape
style/useEnumInitializers
a11y/useHtmlLang
suspicious/noDuplicateTestHooks
complexity/noStaticOnlyClass
style/useWhile
suspicious/noImportAssign
style/useNumericLiterals
a11y/noNoninteractiveTabindex
complexity/useSimpleNumberKeys
correctness/useYield
a11y/noInteractiveElementToNoninteractiveRole
suspicious/noLabelVar
correctness/noUnnecessaryContinue
suspicious/noApproximativeNumericConstant
suspicious/useDefaultSwitchClauseLast
correctness/noGlobalObjectCalls
a11y/useAltText
correctness/noEmptyCharacterClassInRegex
suspicious/noSuspiciousSemicolonInJsx
suspicious/noSparseArray
a11y/useIframeTitle
correctness/noVoidElementsWithChildren
style/useAsConstAssertion
suspicious/noDebugger
style/useExportType
complexity/noUselessLoneBlockStatements
style/noArguments
a11y/useValidAriaValues
suspicious/noGlobalAssign
suspicious/noCommentText
suspicious/noMisleadingInstantiator
suspicious/noThenProperty
suspicious/useGetterReturn
suspicious/noDuplicateJsxProps
a11y/noPositiveTabindex
correctness/noEmptyPattern
complexity/noExcessiveNestedTestSuites
suspicious/noExtraNonNullAssertion
a11y/useKeyWithMouseEvents
correctness/noRenderReturnValue
correctness/useExhaustiveDependencies
security/noGlobalEval
a11y/noRedundantRoles
suspicious/noSelfCompare
correctness/useIsNan
suspicious/noGlobalIsFinite
suspicious/noAsyncPromiseExecutor
style/useNodejsImportProtocol
a11y/noDistractingElements
complexity/noWith
suspicious/noDuplicateClassMembers
complexity/noExtraBooleanCast
performance/noAccumulatingSpread
a11y/useValidAriaProps
suspicious/noConfusingLabels
suspicious/noConfusingVoidType
suspicious/noFocusedTests
a11y/noAriaUnsupportedElements
correctness/noFlatMapIdentity
a11y/useHeadingContent
correctness/useValidForDirection
correctness/noVoidTypeReturn
correctness/noInvalidUseBeforeDeclaration
a11y/noAriaHiddenOnFocusable
a11y/useAnchorContent
correctness/noInvalidNewBuiltin
complexity/noUselessConstructor
a11y/noAccessKey
style/useExponentiationOperator
complexity/noUselessSwitchCase
style/useSingleVarDeclarator
a11y/noNoninteractiveElementToInteractiveRole
style/noCommaOperator
suspicious/useIsArray
a11y/noHeaderScope
suspicious/noMisrefactoredShorthandAssign
suspicious/noClassAssign
suspicious/noFunctionAssign
Workspace:
Open Documents: 0
lint/correctness/useExhaustiveDependencies
I expected the check to realize that the provided dependency is correct according to the function body, but instead it reports that i'm specifying both too many dependencies and also missing dependencies
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too