Environment information
CLI:
Version: 2.2.4
Color support: true
Platform:
CPU Architecture: x86_64
OS: linux
Environment:
BIOME_LOG_PATH: unset
BIOME_LOG_PREFIX_NAME: unset
BIOME_CONFIG_PATH: unset
BIOME_THREADS: unset
NO_COLOR: unset
TERM: xterm-256color
JS_RUNTIME_VERSION: v22.14.0
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: pnpm/10.17.0
Biome Configuration:
Status: Loaded successfully
Path: biome.jsonc
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: true
Linter:
JavaScript enabled: unset
JSON enabled: unset
CSS enabled: unset
GraphQL enabled: unset
Recommended: true
Enabled rules:
a11y/noAccessKey
a11y/noAriaHiddenOnFocusable
a11y/noAriaUnsupportedElements
a11y/noAutofocus
a11y/noDistractingElements
a11y/noHeaderScope
a11y/noInteractiveElementToNoninteractiveRole
a11y/noLabelWithoutControl
a11y/noNoninteractiveElementToInteractiveRole
a11y/noNoninteractiveTabindex
a11y/noPositiveTabindex
a11y/noRedundantAlt
a11y/noRedundantRoles
a11y/noStaticElementInteractions
a11y/noSvgWithoutTitle
a11y/useAltText
a11y/useAnchorContent
a11y/useAriaActivedescendantWithTabindex
a11y/useAriaPropsForRole
a11y/useAriaPropsSupportedByRole
a11y/useButtonType
a11y/useFocusableInteractive
a11y/useGenericFontNames
a11y/useHeadingContent
a11y/useHtmlLang
a11y/useIframeTitle
a11y/useKeyWithClickEvents
a11y/useKeyWithMouseEvents
a11y/useMediaCaption
a11y/useSemanticElements
a11y/useValidAnchor
a11y/useValidAriaProps
a11y/useValidAriaRole
a11y/useValidAriaValues
a11y/useValidAutocomplete
a11y/useValidLang
complexity/noAdjacentSpacesInRegex
complexity/noArguments
complexity/noBannedTypes
complexity/noCommaOperator
complexity/noEmptyTypeParameters
complexity/noExcessiveCognitiveComplexity
complexity/noExtraBooleanCast
complexity/noFlatMapIdentity
complexity/noImportantStyles
complexity/noStaticOnlyClass
complexity/noThisInStatic
complexity/noUselessCatch
complexity/noUselessConstructor
complexity/noUselessContinue
complexity/noUselessEmptyExport
complexity/noUselessEscapeInRegex
complexity/noUselessFragments
complexity/noUselessLabel
complexity/noUselessLoneBlockStatements
complexity/noUselessRename
complexity/noUselessStringConcat
complexity/noUselessStringRaw
complexity/noUselessTernary
complexity/noUselessThisAlias
complexity/noUselessTypeConstraint
complexity/noUselessUndefinedInitialization
complexity/noVoid
complexity/useArrowFunction
complexity/useDateNow
complexity/useFlatMap
complexity/useIndexOf
complexity/useNumericLiterals
complexity/useOptionalChain
complexity/useRegexLiterals
complexity/useSimpleNumberKeys
complexity/useWhile
correctness/noChildrenProp
correctness/noConstAssign
correctness/noConstantCondition
correctness/noConstantMathMinMaxClamp
correctness/noConstructorReturn
correctness/noEmptyCharacterClassInRegex
correctness/noEmptyPattern
correctness/noGlobalObjectCalls
correctness/noInnerDeclarations
correctness/noInvalidBuiltinInstantiation
correctness/noInvalidConstructorSuper
correctness/noInvalidDirectionInLinearGradient
correctness/noInvalidGridAreas
correctness/noInvalidPositionAtImportRule
correctness/noInvalidUseBeforeDeclaration
correctness/noMissingVarFunction
correctness/noNonoctalDecimalEscape
correctness/noPrecisionLoss
correctness/noPrivateImports
correctness/noSelfAssign
correctness/noSetterReturn
correctness/noStringCaseMismatch
correctness/noSwitchDeclarations
correctness/noUndeclaredVariables
correctness/noUnknownFunction
correctness/noUnknownMediaFeatureName
correctness/noUnknownProperty
correctness/noUnknownPseudoClass
correctness/noUnknownPseudoElement
correctness/noUnknownTypeSelector
correctness/noUnknownUnit
correctness/noUnmatchableAnbSelector
correctness/noUnreachable
correctness/noUnreachableSuper
correctness/noUnsafeFinally
correctness/noUnsafeOptionalChaining
correctness/noUnusedFunctionParameters
correctness/noUnusedImports
correctness/noUnusedLabels
correctness/noUnusedPrivateClassMembers
correctness/noUnusedVariables
correctness/noVoidElementsWithChildren
correctness/noVoidTypeReturn
correctness/useGraphqlNamedOperations
correctness/useIsNan
correctness/useParseIntRadix
correctness/useSingleJsDocAsterisk
correctness/useValidForDirection
correctness/useValidTypeof
correctness/useYield
nursery/noDuplicateDependencies
nursery/noImportCycles
nursery/noMisusedPromises
nursery/noNonNullAssertedOptionalChain
nursery/noShadow
nursery/noUselessUndefined
nursery/useMaxParams
performance/noAccumulatingSpread
performance/noBarrelFile
performance/noDelete
performance/noDynamicNamespaceImportAccess
performance/noNamespaceImport
security/noBlankTarget
security/noDangerouslySetInnerHtml
security/noDangerouslySetInnerHtmlWithChildren
security/noGlobalEval
style/noDefaultExport
style/noDescendingSpecificity
style/noInferrableTypes
style/noNegationElse
style/noParameterProperties
style/noRestrictedTypes
style/noShoutyConstants
style/noSubstr
style/noUnusedTemplateLiteral
style/noUselessElse
style/noYodaExpression
style/useArrayLiterals
style/useAsConstAssertion
style/useAtIndex
style/useBlockStatements
style/useCollapsedElseIf
style/useCollapsedIf
style/useConsistentBuiltinInstantiation
style/useConsistentObjectDefinitions
style/useConst
style/useDefaultParameterLast
style/useDeprecatedReason
style/useExplicitLengthCheck
style/useExportType
style/useForOf
style/useGroupedAccessorPairs
style/useImportType
style/useLiteralEnumMembers
style/useNumberNamespace
style/useObjectSpread
style/useReadonlyClassProperties
style/useShorthandFunctionType
style/useSingleVarDeclarator
style/useThrowNewError
style/useThrowOnlyError
style/useTrimStartEnd
style/useUnifiedTypeSignatures
suspicious/noApproximativeNumericConstant
suspicious/noArrayIndexKey
suspicious/noAsyncPromiseExecutor
suspicious/noBiomeFirstException
suspicious/noCatchAssign
suspicious/noClassAssign
suspicious/noCommentText
suspicious/noCompareNegZero
suspicious/noConfusingLabels
suspicious/noConfusingVoidType
suspicious/noConstEnum
suspicious/noConstantBinaryExpressions
suspicious/noControlCharactersInRegex
suspicious/noDebugger
suspicious/noDoubleEquals
suspicious/noDuplicateAtImportRules
suspicious/noDuplicateCase
suspicious/noDuplicateClassMembers
suspicious/noDuplicateCustomProperties
suspicious/noDuplicateElseIf
suspicious/noDuplicateFields
suspicious/noDuplicateFontNames
suspicious/noDuplicateJsxProps
suspicious/noDuplicateObjectKeys
suspicious/noDuplicateParameters
suspicious/noDuplicateProperties
suspicious/noDuplicateSelectorsKeyframeBlock
suspicious/noEmptyBlock
suspicious/noEmptyInterface
suspicious/noEvolvingTypes
suspicious/noExtraNonNullAssertion
suspicious/noFallthroughSwitchClause
suspicious/noFunctionAssign
suspicious/noGlobalAssign
suspicious/noGlobalIsFinite
suspicious/noGlobalIsNan
suspicious/noImplicitAnyLet
suspicious/noImportAssign
suspicious/noImportantInKeyframe
suspicious/noIrregularWhitespace
suspicious/noLabelVar
suspicious/noMisleadingCharacterClass
suspicious/noMisleadingInstantiator
suspicious/noMisrefactoredShorthandAssign
suspicious/noOctalEscape
suspicious/noQuickfixBiome
suspicious/noRedeclare
suspicious/noRedundantUseStrict
suspicious/noSelfCompare
suspicious/noShadowRestrictedNames
suspicious/noShorthandPropertyOverrides
suspicious/noSparseArray
suspicious/noSuspiciousSemicolonInJsx
suspicious/noTemplateCurlyInString
suspicious/noThenProperty
suspicious/noTsIgnore
suspicious/noUnknownAtRules
suspicious/noUnsafeDeclarationMerging
suspicious/noUnsafeNegation
suspicious/noUselessEscapeInString
suspicious/noUselessRegexBackrefs
suspicious/noVar
suspicious/noWith
suspicious/useAdjacentOverloadSignatures
suspicious/useBiomeIgnoreFolder
suspicious/useDefaultSwitchClauseLast
suspicious/useErrorMessage
suspicious/useGetterReturn
suspicious/useGoogleFontDisplay
suspicious/useGuardForIn
suspicious/useIsArray
suspicious/useIterableCallbackReturn
suspicious/useNamespaceKeyword
suspicious/useNumberToFixedDigitsArgument
Workspace:
Open Documents: 0
Rule name
lint/nursery/useMaxParams
Playground link
https://biomejs.dev/playground/?lineWidth=120&lintRules=useMaxParams&code=ZgB1AG4AYwB0AGkAbwBuACAAZgBvAG8AKAAKACAAIABiAGEAcgAsAAoAIAAgAGIAYQB6ACwACgAgACAAcQB1AHgALAAKACAAIABxAHUAdQB4ACwACgAgACAAYwBvAHIAZwBlACwACgApADoAIAB2AG8AaQBkACAAewAKACAAIABpAGYAIAAoAGIAYQByACAAKwAgAGIAYQB6ACkAIAB7AAoAIAAgACAAIAByAGUAdAB1AHIAbgAgAHEAdQB4AAoAIAAgAH0AIABlAGwAcwBlACAAaQBmACAAKABxAHUAdQB4ACkAIAB7AAoAIAAgACAAIAByAGUAdAB1AHIAbgAgAGMAbwByAGcAZQA7AAoAIAAgAH0ACgAgACAAcgBlAHQAdQByAG4AIABjAG8AcgBnAGUAIAAqACAAcQB1AHgAOwAKACAAIAAvAC8AIABMAG8AbgBnAGUAcgAKACAAIAAvAC8AIABzAHQAYQB0AGUAbQBlAG4AdABzACAAVABvACAAcwBoAG8AdwAgAG8AZgBmACAAdwBoAHkAIAB0AGgAaQBzACAACgAgACAALwAvACAAQgBpAGcAIAB5AGUAbABsAG8AdwAgAHMAcQBpAHUAZwBnAGwAZQBzACAAYQByAGUAIABzAG8AbwBvAG8AbwBvACAAYQBuAG4AbwB5AGkAbgBnACAAYQBuAGQAIABuAG8AaQBzAHkACgAgACAALwAvACAARQB2AGUAbgAgAGEAcABwAGwAaQBlAHMAIAB0AG8AIABjAG8AbQBtAGUAbgB0AHMACgAgACAALwAvACAAYQBuAGQAIABuAGUAcwB0AGUAZAAgAG0AZQB0AGgAbwBkAHMAIQAgAEEAbgBkACAAaQB0ACAAbwB2AGUAcgB3AHIAaQB0AGUAcwAgAG8AdABoAGUAcgAgAGwAaQBuAHQAcwAhAAoAfQA%3D&language=ts
Expected result
Only the function signature, or really just the function name itself, should be underlined.
It is too noisy to have the entire method underlined....
Code of Conduct
Environment information
Rule name
lint/nursery/useMaxParams
Playground link
https://biomejs.dev/playground/?lineWidth=120&lintRules=useMaxParams&code=ZgB1AG4AYwB0AGkAbwBuACAAZgBvAG8AKAAKACAAIABiAGEAcgAsAAoAIAAgAGIAYQB6ACwACgAgACAAcQB1AHgALAAKACAAIABxAHUAdQB4ACwACgAgACAAYwBvAHIAZwBlACwACgApADoAIAB2AG8AaQBkACAAewAKACAAIABpAGYAIAAoAGIAYQByACAAKwAgAGIAYQB6ACkAIAB7AAoAIAAgACAAIAByAGUAdAB1AHIAbgAgAHEAdQB4AAoAIAAgAH0AIABlAGwAcwBlACAAaQBmACAAKABxAHUAdQB4ACkAIAB7AAoAIAAgACAAIAByAGUAdAB1AHIAbgAgAGMAbwByAGcAZQA7AAoAIAAgAH0ACgAgACAAcgBlAHQAdQByAG4AIABjAG8AcgBnAGUAIAAqACAAcQB1AHgAOwAKACAAIAAvAC8AIABMAG8AbgBnAGUAcgAKACAAIAAvAC8AIABzAHQAYQB0AGUAbQBlAG4AdABzACAAVABvACAAcwBoAG8AdwAgAG8AZgBmACAAdwBoAHkAIAB0AGgAaQBzACAACgAgACAALwAvACAAQgBpAGcAIAB5AGUAbABsAG8AdwAgAHMAcQBpAHUAZwBnAGwAZQBzACAAYQByAGUAIABzAG8AbwBvAG8AbwBvACAAYQBuAG4AbwB5AGkAbgBnACAAYQBuAGQAIABuAG8AaQBzAHkACgAgACAALwAvACAARQB2AGUAbgAgAGEAcABwAGwAaQBlAHMAIAB0AG8AIABjAG8AbQBtAGUAbgB0AHMACgAgACAALwAvACAAYQBuAGQAIABuAGUAcwB0AGUAZAAgAG0AZQB0AGgAbwBkAHMAIQAgAEEAbgBkACAAaQB0ACAAbwB2AGUAcgB3AHIAaQB0AGUAcwAgAG8AdABoAGUAcgAgAGwAaQBuAHQAcwAhAAoAfQA%3D&language=ts
Expected result
Only the function signature, or really just the function name itself, should be underlined.
It is too noisy to have the entire method underlined....
Code of Conduct