コンテンツにスキップ

Rules sources

このコンテンツはまだ日本語訳がありません。

@e18e/eslint-plugin Rules name Biome Rules name
ban-dependencies noRestrictedDependencies
prefer-array-at useAtIndex
prefer-date-now useDateNow
prefer-exponentiation-operator useExponentiationOperator
prefer-includes useIncludes (inspired)
prefer-object-has-own noPrototypeBuiltins
prefer-spread-syntax useObjectSpread (inspired)
@eslint-react/eslint-plugin Rules name Biome Rules name
component-hook-factories noComponentHookFactories
dom-no-dangerously-set-innerhtml noDangerouslySetInnerHtml
dom-no-dangerously-set-innerhtml-with-children noDangerouslySetInnerHtmlWithChildren
dom-no-missing-button-type useButtonType
dom-no-missing-iframe-sandbox useIframeSandbox
dom-no-render-return-value noRenderReturnValue
dom-no-script-url noScriptUrl
dom-no-unsafe-iframe-sandbox noUnsafeIframeSandbox
dom-no-unsafe-target-blank noBlankTarget (inspired)
dom-no-void-elements-with-children noVoidElementsWithChildren
exhaustive-deps useExhaustiveDependencies
jsx-no-children-prop noChildrenProp
jsx-no-leaked-dollar noJsxLeakedDollar
jsx-no-namespace noJsxNamespace
jsx-no-useless-fragment noUselessFragments
naming-convention-context-name useReactNamingConvention
naming-convention-id-name useReactNamingConvention
naming-convention-ref-name useReactNamingConvention
no-array-index-key noArrayIndexKey
no-forward-ref noReactForwardRef
no-missing-key useJsxKeyInIterable
no-nested-component-definitions noNestedComponentDefinitions
rsc-function-definition useReactAsyncServerFunction
@html-eslint/eslint-plugin Rules name Biome Rules name
no-accesskey-attrs noAccessKey (inspired)
no-aria-hidden-on-focusable noAriaHiddenOnFocusable (inspired)
no-empty-headings useHeadingContent (inspired)
no-invalid-role useValidAriaRole (inspired)
no-non-scalable-viewport noNonScalableViewport (inspired)
no-obsolete-attrs noObsoleteAttributes
no-obsolete-tags noObsoleteTags (inspired)
no-positive-tabindex noPositiveTabindex (inspired)
no-redundant-role noRedundantRoles (inspired)
no-target-blank noBlankTarget
require-button-type useButtonType (inspired)
require-frame-title useIframeTitle (inspired)
require-img-alt useAltText (inspired)
require-lang useHtmlLang (inspired)
require-li-container noMisplacedListElements (inspired)
@mysticatea/eslint-plugin Rules name Biome Rules name
no-this-in-static noThisInStatic
prefer-for-of useForOf
@next/eslint-plugin-next Rules name Biome Rules name
google-font-display useGoogleFontDisplay
google-font-preconnect useGoogleFontPreconnect
inline-script-id useInlineScriptId
next-script-for-ga useNextScriptForGoogleAnalytics (inspired)
no-async-client-component noNextAsyncClientComponent
no-before-interactive-script-outside-document noBeforeInteractiveScriptOutsideDocument
no-document-import-in-page noDocumentImportInPage
no-head-element noHeadElement
no-head-import-in-document noHeadImportInDocument
no-img-element noImgElement
no-sync-scripts noSyncScripts
no-unwanted-polyfillio noUnwantedPolyfillio
@react-native/eslint-plugin Rules name Biome Rules name
no-deep-imports noReactNativeDeepImports
platform-colors useReactNativeValidPlatformColors
@shadcn/lint Rules name Biome Rules name
no-arbitrary-values noTailwindArbitraryValue (inspired)
no-inline-styles noInlineStyles
no-raw-colors noTailwindRawColors (inspired)
no-restyle noTailwindRestyledComponents (inspired)
require-static-classes useTailwindStaticClassStrings (inspired)
@stylistic/eslint-plugin Rules name Biome Rules name
jsx-curly-brace-presence useConsistentCurlyBraces (inspired)
jsx-self-closing-comp useSelfClosingElements
@tanstack/eslint-plugin-query Rules name Biome Rules name
infinite-query-property-order useTanstackQueryInfiniteQueryPropertyOrder
no-rest-destructuring noTanstackQueryRestDestructuring
no-void-query-fn noTanstackQueryVoidQueryFn
stable-query-client useTanstackQueryStableQueryClient
@vitest/eslint-plugin Rules name Biome Rules name
consistent-test-it useConsistentTestIt (inspired)
expect-expect useExpect
max-nested-describe noExcessiveNestedTestSuites
no-conditional-expect noConditionalExpect
no-disabled-tests noSkippedTests (inspired)
no-done-callback noDoneCallback
no-duplicate-hooks noDuplicateTestHooks (inspired)
no-focused-tests noFocusedTests (inspired)
no-identical-title noIdenticalTestTitle
no-standalone-expect noMisplacedAssertion (inspired)
prefer-hooks-in-order useTestHooksInOrder
prefer-hooks-on-top useTestHooksOnTop
prefer-lowercase-title useLowercaseTestTitle
prefer-to-contain useExpectToContain
valid-title useValidTestTitle
Clippy Rules name Biome Rules name
approx_constant noApproximativeNumericConstant
collapsible_else_if useCollapsedElseIf
collapsible_if useCollapsedIf
eq_op noSelfCompare
erasing_op noErasingOperation
flat_map_identity noFlatMapIdentity
if_not_else noNegationElse
lossy_float_literal noPrecisionLoss
map_flatten useFlatMap
match_str_case_mismatch noStringCaseMismatch
min_max noConstantMathMinMaxClamp
misrefactored_assign_op noMisrefactoredShorthandAssign
needless_for_each noForEach
only_used_in_recursion noParametersOnlyUsedInRecursion (inspired)
redundant_else noUselessElse (inspired)
self_assignment noSelfAssign
too_many_arguments useMaxParams
unreadable_literal useNumericSeparators
Deno Lint Rules name Biome Rules name
adjacent-overload-signatures useAdjacentOverloadSignatures
eqeqeq noDoubleEquals
jsx-button-has-type useButtonType
no-console noConsole
no-debugger noDebugger
no-irregular-whitespace noIrregularWhitespace
no-octal noOctal
no-process-global noProcessGlobal
no-sparse-arrays noSparseArray
no-unused-vars noUnusedVariables
no-var noVar
prefer-const useConst
ESLint Rules name Biome Rules name
accessor-pairs useAccessorPairs
array-callback-return useIterableCallbackReturn
arrow-body-style useConsistentArrowReturn
camelcase useNamingConvention (inspired)
class-methods-use-this useThisInClassMethods
complexity noExcessiveCognitiveComplexity (inspired)
constructor-super noInvalidConstructorSuper
curly useBlockStatements
default-case useDefaultSwitchClause
default-case-last useDefaultSwitchClauseLast
default-param-last useDefaultParameterLast
dot-notation useLiteralKeys
eqeqeq noDoubleEquals
for-direction useValidForDirection
func-name-matching useMatchingFunctionName
func-names useNamedFunction (inspired)
func-style useConsistentFunctionStyle (inspired)
getter-return useGetterReturn
grouped-accessor-pairs useGroupedAccessorPairs
guard-for-in useGuardForIn
init-declarations noUnassignedVariables (inspired)
max-classes-per-file noExcessiveClassesPerFile
max-depth noExcessiveNestedBlocks
max-lines noExcessiveLinesPerFile (inspired)
max-lines-per-function noExcessiveLinesPerFunction (inspired)
max-nested-callbacks noExcessiveNestedCallbacks
max-params useMaxParams
max-statements noExcessiveStatementsPerFunction
new-cap useCapitalizedConstructors
no-alert noAlert
no-array-constructor useArrayLiterals
no-async-promise-executor noAsyncPromiseExecutor
no-await-in-loop noAwaitInLoops
no-bitwise noBitwiseOperators
no-caller noArgumentsCallerOrCallee
no-case-declarations noSwitchDeclarations
no-catch-shadow noShadow
no-class-assign noClassAssign
no-compare-neg-zero noCompareNegZero
no-cond-assign noAssignInExpressions (inspired)
no-console noConsole
no-const-assign noConstAssign
no-constant-binary-expression noConstantBinaryExpressions
no-constant-condition noConstantCondition
no-constructor-return noConstructorReturn
no-continue noContinue
no-control-regex noControlCharactersInRegex
no-debugger noDebugger
no-delete-var noDelete
no-div-regex noDivRegex
no-dupe-args noDuplicateParameters
no-dupe-class-members noDuplicateClassMembers
no-dupe-else-if noDuplicateElseIf
no-dupe-keys noDuplicateObjectKeys
no-duplicate-case noDuplicateCase
no-else-return noUselessElse (inspired)
no-empty noEmptyBlockStatements
no-empty-character-class noEmptyCharacterClassInRegex
no-empty-function noEmptyBlockStatements
no-empty-pattern noEmptyPattern
no-empty-static-block noEmptyBlockStatements
no-eq-null noEqualsToNull
no-eval noGlobalEval
no-ex-assign noCatchAssign
no-extend-native noExtendNative
no-extra-boolean-cast noExtraBooleanCast
no-extra-label noUselessLabel
no-fallthrough noFallthroughSwitchClause
no-func-assign noFunctionAssign
no-global-assign noGlobalAssign
no-implicit-coercion noImplicitCoercions
no-implied-eval noImpliedEval
no-import-assign noImportAssign
no-inner-declarations noInnerDeclarations
no-invalid-this noInvalidThis
no-irregular-whitespace noIrregularWhitespace
no-label-var noLabelVar
no-labels noConfusingLabels (inspired)
no-lone-blocks noUselessLoneBlockStatements
no-lonely-if useCollapsedElseIf
no-loop-func noLoopFunc
no-loss-of-precision noPrecisionLoss
no-magic-numbers noMagicNumbers (inspired)
no-misleading-character-class noMisleadingCharacterClass
no-multi-assign noMultiAssign (inspired)
no-multi-str noMultilineString
no-native-reassign noGlobalAssign
no-negated-condition noNegationElse
no-negated-in-lhs noUnsafeNegation (inspired)
no-nested-ternary noNestedTernary
no-new noUnusedInstantiation
no-new-func noImpliedEval (inspired)
no-new-native-nonconstructor noInvalidBuiltinInstantiation
no-new-object noObjectConstructor (inspired)
no-new-require noNewRequire
no-new-symbol noInvalidBuiltinInstantiation (inspired)
no-new-wrappers useConsistentBuiltinInstantiation
no-nonoctal-decimal-escape noNonoctalDecimalEscape
no-obj-calls noGlobalObjectCalls
no-object-constructor noObjectConstructor
no-octal noOctal
no-octal-escape noOctalEscape
no-param-reassign noParameterAssign
no-plusplus noIncrementDecrement
no-process-env noProcessEnv
no-process-exit noProcessExit
no-promise-executor-return noPromiseExecutorReturn
no-proto noProto
no-prototype-builtins noPrototypeBuiltins
no-redeclare noRedeclare
no-regex-spaces noAdjacentSpacesInRegex
no-restricted-globals noRestrictedGlobals
no-restricted-imports noRestrictedImports
no-restricted-properties noJsRestrictedProperties
no-return-assign noReturnAssign
no-script-url noScriptUrl
no-self-assign noSelfAssign
no-self-compare noSelfCompare
no-sequences noCommaOperator
no-setter-return noSetterReturn
no-shadow noShadow
no-shadow-restricted-names noShadowRestrictedNames
no-sparse-arrays noSparseArray
no-template-curly-in-string noTemplateCurlyInString
no-ternary noTernary
no-this-before-super noUnreachableSuper
no-throw-literal useThrowOnlyError (inspired)
no-unassigned-vars noUnassignedVariables
no-undef noUndeclaredVariables
no-undef-init noUselessUndefinedInitialization
no-underscore-dangle noDanglingUnderscore (inspired)
no-unmodified-loop-condition noUnmodifiedLoopCondition
no-unneeded-ternary noUselessTernary
no-unreachable noUnreachable
no-unsafe-finally noUnsafeFinally
no-unsafe-negation noUnsafeNegation
no-unsafe-optional-chaining noUnsafeOptionalChaining
no-unused-expressions noUnusedExpressions
no-unused-labels noUnusedLabels
no-unused-private-class-members noUnusedPrivateClassMembers (inspired)
no-unused-vars noUnusedVariables
no-use-before-define noInvalidUseBeforeDeclaration
no-useless-assignment noUselessAssignment
no-useless-backreference noUselessRegexBackrefs
no-useless-call noUselessCall
no-useless-catch noUselessCatch
no-useless-computed-key useLiteralKeys
no-useless-concat noUselessStringConcat
no-useless-constructor noUselessConstructor
no-useless-escape noUselessEscapeInRegex
no-useless-rename noUselessRename
no-useless-return noUselessReturn (inspired)
no-var noVar
no-void noVoid
no-with noWith
object-shorthand useConsistentObjectDefinitions (inspired)
one-var useSingleVarDeclarator (inspired)
operator-assignment useShorthandAssign
prefer-arrow-callback useArrowFunction (inspired)
prefer-const useConst
prefer-destructuring useDestructuring (inspired)
prefer-exponentiation-operator useExponentiationOperator
prefer-named-capture-group useNamedCaptureGroup
prefer-numeric-literals useNumericLiterals
prefer-object-has-own noPrototypeBuiltins
prefer-object-spread useObjectSpread
prefer-promise-reject-errors usePromiseRejectErrors
prefer-regex-literals useRegexLiterals
prefer-rest-params noArguments
prefer-spread useSpreadOverApply
prefer-template useTemplate
preserve-caught-error useErrorCause
radix useParseIntRadix
require-await useAwait
require-unicode-regexp useUnicodeRegex
require-yield useYield
strict useStrictMode (inspired)
symbol-description useSymbolDescription
unicode-bom useConsistentUnicodeBom
use-isnan useIsNan
valid-typeof useValidTypeof
vars-on-top useVarsOnTop
yoda noYodaExpression
Oxlint Rules name Biome Rules name
bad-array-method-on-arguments noArrayMethodsOnArguments
bad-bitwise-operator noAccidentalBitwiseOperators
bad-comparison-sequence noChainedComparison (inspired)
bad-min-max-func noConstantMathMinMaxClamp
bad-object-literal-comparison noObjectLiteralComparison
branches-sharing-code noSharedBranchCode (inspired)
const-comparisons noConstantComparisons (inspired)
double-comparisons noDoubleComparison
erasing-op noErasingOperation
missing-throw noMissingThrow (inspired)
no-map-spread noMapSpread
number-arg-out-of-range noNumberArgumentOutOfRange (inspired)
only-used-in-recursion noParametersOnlyUsedInRecursion
uninvoked-array-callback noUninvokedArrayCallback (inspired)
eslint-plugin-astro Rules name Biome Rules name
jsx-a11y/alt-text useAltText
jsx-a11y/anchor-ambiguous-text noAmbiguousAnchorText
jsx-a11y/anchor-has-content useAnchorContent
jsx-a11y/anchor-is-valid useValidAnchor
jsx-a11y/aria-activedescendant-has-tabindex useAriaActivedescendantWithTabindex
jsx-a11y/aria-props useValidAriaProps
jsx-a11y/aria-proptypes useValidAriaValues
jsx-a11y/aria-role useValidAriaRole
jsx-a11y/aria-unsupported-elements noAriaUnsupportedElements
jsx-a11y/autocomplete-valid useValidAutocomplete
jsx-a11y/click-events-have-key-events useKeyWithClickEvents
jsx-a11y/control-has-associated-label useControlLabel (inspired)
jsx-a11y/heading-has-content useHeadingContent
jsx-a11y/html-has-lang useHtmlLang
jsx-a11y/iframe-has-title useIframeTitle
jsx-a11y/img-redundant-alt noRedundantAlt
jsx-a11y/interactive-supports-focus useFocusableInteractive
jsx-a11y/label-has-associated-control noLabelWithoutControl
jsx-a11y/lang useValidLang
jsx-a11y/media-has-caption useMediaCaption
jsx-a11y/mouse-events-have-key-events useKeyWithMouseEvents
jsx-a11y/no-access-key noAccessKey
jsx-a11y/no-aria-hidden-on-focusable noAriaHiddenOnFocusable
jsx-a11y/no-autofocus noAutofocus
jsx-a11y/no-distracting-elements noDistractingElements
jsx-a11y/no-interactive-element-to-noninteractive-role noInteractiveElementToNoninteractiveRole
jsx-a11y/no-noninteractive-element-interactions noNoninteractiveElementInteractions
jsx-a11y/no-noninteractive-element-to-interactive-role noNoninteractiveElementToInteractiveRole
jsx-a11y/no-noninteractive-tabindex noNoninteractiveTabindex
jsx-a11y/no-redundant-roles noRedundantRoles
jsx-a11y/no-static-element-interactions noStaticElementInteractions
jsx-a11y/prefer-tag-over-role useSemanticElements
jsx-a11y/role-has-required-aria-props useAriaPropsForRole
jsx-a11y/role-supports-aria-props useAriaPropsSupportedByRole
jsx-a11y/scope noHeaderScope
jsx-a11y/tabindex-no-positive noPositiveTabindex
no-conflict-set-directives noAstroConflictingSetDirectives
no-set-html-directive noAstroSetHtmlDirective
eslint-plugin-barrel-files Rules name Biome Rules name
avoid-barrel-files noBarrelFile (inspired)
avoid-namespace-import noNamespaceImport
avoid-re-export-all noReExportAll
eslint-plugin-better-tailwindcss Rules name Biome Rules name
enforce-consistent-class-order useTailwindSortedClasses (inspired)
enforce-consistent-variable-syntax useTailwindVariablesShorthand
enforce-shorthand-classes useTailwindShorthandClasses (inspired)
no-deprecated-classes noTailwindLegacyUtilities (inspired)
eslint-plugin-drizzle Rules name Biome Rules name
enforce-delete-with-where noDrizzleDeleteWithoutWhere
enforce-update-with-where noDrizzleUpdateWithoutWhere
eslint-plugin-import Rules name Biome Rules name
enforce-node-protocol-usage useNodejsImportProtocol
exports-last useExportsLast
extensions useImportExtensions (inspired)
first useImportsFirst
named noUnresolvedImports (inspired)
no-commonjs noCommonJs
no-cycle noImportCycles
no-default-export noDefaultExport
no-deprecated noDeprecatedImports (inspired)
no-extraneous-dependencies noUndeclaredDependencies
no-nodejs-modules noNodejsModules
no-self-import noSelfImport
eslint-plugin-import-access Rules name Biome Rules name
eslint-plugin-import-access noPrivateImports
eslint-plugin-jest Rules name Biome Rules name
consistent-test-it useConsistentTestIt (inspired)
expect-expect useExpect
max-nested-describe noExcessiveNestedTestSuites
no-conditional-expect noConditionalExpect
no-disabled-tests noSkippedTests (inspired)
no-done-callback noDoneCallback
no-duplicate-hooks noDuplicateTestHooks (inspired)
no-export noExportsInTest (inspired)
no-focused-tests noFocusedTests (inspired)
no-identical-title noIdenticalTestTitle
no-standalone-expect noMisplacedAssertion (inspired)
prefer-hooks-in-order useTestHooksInOrder
prefer-hooks-on-top useTestHooksOnTop
prefer-lowercase-title useLowercaseTestTitle
prefer-to-contain useExpectToContain
valid-title useValidTestTitle
eslint-plugin-jsdoc Rules name Biome Rules name
no-multi-asterisks useSingleJsDocAsterisk
eslint-plugin-jsx-a11y Rules name Biome Rules name
alt-text useAltText
anchor-ambiguous-text noAmbiguousAnchorText
anchor-has-content useAnchorContent
anchor-is-valid useValidAnchor
aria-activedescendant-has-tabindex useAriaActivedescendantWithTabindex
aria-props useValidAriaProps
aria-proptypes useValidAriaValues
aria-role useValidAriaRole
aria-unsupported-elements noAriaUnsupportedElements
autocomplete-valid useValidAutocomplete
click-events-have-key-events useKeyWithClickEvents
control-has-associated-label useControlLabel (inspired)
heading-has-content useHeadingContent
html-has-lang useHtmlLang
iframe-has-title useIframeTitle
img-redundant-alt noRedundantAlt
interactive-supports-focus useFocusableInteractive
label-has-associated-control noLabelWithoutControl
label-has-for noLabelWithoutControl (inspired)
lang useValidLang
media-has-caption useMediaCaption
mouse-events-have-key-events useKeyWithMouseEvents
no-access-key noAccessKey
no-aria-hidden-on-focusable noAriaHiddenOnFocusable
no-autofocus noAutofocus
no-distracting-elements noDistractingElements
no-interactive-element-to-noninteractive-role noInteractiveElementToNoninteractiveRole
no-noninteractive-element-interactions noNoninteractiveElementInteractions
no-noninteractive-element-to-interactive-role noNoninteractiveElementToInteractiveRole
no-noninteractive-tabindex noNoninteractiveTabindex
no-redundant-roles noRedundantRoles
no-static-element-interactions noStaticElementInteractions
prefer-tag-over-role useSemanticElements
role-has-required-aria-props useAriaPropsForRole
role-supports-aria-props useAriaPropsSupportedByRole
scope noHeaderScope
tabindex-no-positive noPositiveTabindex
eslint-plugin-n Rules name Biome Rules name
no-new-require noNewRequire
no-path-concat noPathConcat
no-process-env noProcessEnv
no-process-exit noProcessExit
no-sync noSyncMethods
prefer-node-protocol useNodejsImportProtocol
eslint-plugin-no-secrets Rules name Biome Rules name
no-secrets noSecrets (inspired)
eslint-plugin-playwright Rules name Biome Rules name
expect-expect useExpect
missing-playwright-await noPlaywrightMissingAwait
no-conditional-expect noConditionalExpect
no-element-handle noPlaywrightElementHandle
no-eval noPlaywrightEval
no-focused-test noFocusedTests
no-force-option noPlaywrightForceOption
no-identical-title noIdenticalTestTitle
no-networkidle noPlaywrightNetworkidle
no-nth-methods noPlaywrightNthMethods
no-page-pause noPlaywrightPagePause
no-skipped-test noSkippedTests (inspired)
no-unsafe-references noPlaywrightUnsafeReferences
no-useless-await noPlaywrightUselessAwait
no-wait-for-navigation noPlaywrightWaitForNavigation
no-wait-for-selector noPlaywrightWaitForSelector
no-wait-for-timeout noPlaywrightWaitForTimeout
prefer-hooks-in-order useTestHooksInOrder
prefer-hooks-on-top useTestHooksOnTop
prefer-lowercase-title useLowercaseTestTitle
prefer-to-contain useExpectToContain
valid-describe-callback usePlaywrightValidDescribeCallback
eslint-plugin-promise Rules name Biome Rules name
no-nesting noNestedPromises
no-return-in-finally noReturnInFinally (inspired)
eslint-plugin-qwik Rules name Biome Rules name
jsx-a useValidAnchor
jsx-img useImageSize
jsx-key useJsxKeyInIterable
jsx-no-script-url noScriptUrl
loader-location useQwikLoaderLocation
no-react-props noReactSpecificProps
no-use-visible-task noQwikUseVisibleTask
prefer-classlist useQwikClasslist
use-method-usage useQwikMethodUsage
valid-lexical-scope useQwikValidLexicalScope
eslint-plugin-react Rules name Biome Rules name
async-server-action useReactAsyncServerFunction
button-has-type useButtonType
forbid-elements noRestrictedElements
function-component-definition useReactFunctionComponentDefinition (inspired)
iframe-missing-sandbox useIframeSandbox
jsx-boolean-value noImplicitBoolean (inspired)
jsx-curly-brace-presence useConsistentCurlyBraces (inspired)
jsx-fragments useFragmentSyntax
jsx-key useJsxKeyInIterable
jsx-no-bind noJsxPropsBind (inspired)
jsx-no-comment-textnodes noCommentText
jsx-no-duplicate-props noDuplicateJsxProps
jsx-no-leaked-render noLeakedRender (inspired)
jsx-no-literals noJsxLiterals
jsx-no-script-url noScriptUrl
jsx-no-target-blank noBlankTarget (inspired)
jsx-no-useless-fragment noUselessFragments
jsx-props-no-spread-multi noDuplicatedSpreadProps
no-array-index-key noArrayIndexKey
no-children-prop noChildrenProp
no-danger noDangerouslySetInnerHtml
no-danger-with-children noDangerouslySetInnerHtmlWithChildren
no-object-type-as-default-prop noReactObjectTypeAsDefaultProp
no-render-return-value noRenderReturnValue
no-string-refs noReactStringRefs
no-unknown-property noUnknownAttribute
self-closing-comp useSelfClosingElements
void-dom-elements-no-children noVoidElementsWithChildren
eslint-plugin-react-dom Rules name Biome Rules name
no-dangerously-set-innerhtml noDangerouslySetInnerHtml
no-dangerously-set-innerhtml-with-children noDangerouslySetInnerHtmlWithChildren
no-missing-button-type useButtonType
no-missing-iframe-sandbox useIframeSandbox (inspired)
no-render-return-value noRenderReturnValue
no-script-url noScriptUrl
no-unsafe-iframe-sandbox noUnsafeIframeSandbox
no-unsafe-target-blank noBlankTarget (inspired)
no-void-elements-with-children noVoidElementsWithChildren
eslint-plugin-react-hooks Rules name Biome Rules name
component-hook-factories noComponentHookFactories
exhaustive-deps useExhaustiveDependencies
react-compiler noReactPropAssignments
rules-of-hooks useHookAtTopLevel
eslint-plugin-react-jsx Rules name Biome Rules name
no-children-prop noChildrenProp
no-leaked-dollar noJsxLeakedDollar
no-namespace noJsxNamespace
no-useless-fragment noUselessFragments
eslint-plugin-react-naming-convention Rules name Biome Rules name
context-name useReactNamingConvention
id-name useReactNamingConvention
ref-name useReactNamingConvention
eslint-plugin-react-native Rules name Biome Rules name
no-color-literals noReactNativeLiteralColors
no-inline-styles noInlineStyles
no-raw-text noReactNativeRawText
split-platform-components useReactNativePlatformComponents (inspired)

eslint-plugin-react-prefer-function-component

Section titled “eslint-plugin-react-prefer-function-component”
eslint-plugin-react-prefer-function-component Rules name Biome Rules name
prefer-function-component useReactFunctionComponents
react-prefer-function-component useReactFunctionComponents
eslint-plugin-react-refresh Rules name Biome Rules name
only-export-components useComponentExportOnlyModules (inspired)
eslint-plugin-react-rsc Rules name Biome Rules name
function-definition useReactAsyncServerFunction
eslint-plugin-react-x Rules name Biome Rules name
component-hook-factories noComponentHookFactories
exhaustive-deps useExhaustiveDependencies
no-array-index-key noArrayIndexKey
no-forward-ref noReactForwardRef
no-missing-key useJsxKeyInIterable
no-nested-component-definitions noNestedComponentDefinitions
eslint-plugin-regexp Rules name Biome Rules name
no-useless-backreference noUselessRegexBackrefs
prefer-regexp-exec useRegexpExec
eslint-plugin-solid Rules name Biome Rules name
jsx-no-script-url noScriptUrl
no-destructure noSolidDestructuredProps (inspired)
no-react-specific-props noReactSpecificProps
prefer-for useSolidForComponent (inspired)
eslint-plugin-sonarjs Rules name Biome Rules name
cognitive-complexity noExcessiveCognitiveComplexity
no-nested-switch noNestedSwitch
no-nested-template-literals noNestedTemplateLiterals
prefer-while useWhile
eslint-plugin-svelte Rules name Biome Rules name
no-add-event-listener noSvelteAddEventListener
no-ignored-unsubscribe noSvelteIgnoredUnsubscribe
no-inner-declarations noInnerDeclarations
no-inspect noSvelteInspect
no-navigation-without-resolve useSvelteKitResolve
no-object-in-text-mustaches noSvelteObjectInTextMustaches
no-svelte-internal noSvelteInternal
no-target-blank noBlankTarget
no-unnecessary-state-wrap noSvelteUnnecessaryStateWrap
prefer-const useConst
prefer-derived-over-derived-by noSvelteUselessDerivedBy
prefer-svelte-reactivity useSvelteReactiveClasses (inspired)
require-event-dispatcher-types useSvelteEventDispatcherTypes
require-stores-init useSvelteStoreInitialValue
eslint-plugin-tailwindcss Rules name Biome Rules name
classnames-order useTailwindSortedClasses (inspired)
enforces-shorthand useTailwindShorthandClasses
no-arbitrary-value noTailwindArbitraryValue
eslint-plugin-turbo Rules name Biome Rules name
no-undeclared-env-vars noUndeclaredEnvVars
eslint-plugin-unicorn Rules name Biome Rules name
better-dom-traversing useBetterDomTraversing (inspired)
consistent-date-clone noUselessDateGetTime
consistent-json-file-read useConsistentJsonFileRead
error-message useErrorMessage
explicit-length-check useExplicitLengthCheck (inspired)
filename-case useFilenamingConvention (inspired)
new-for-builtins noInvalidBuiltinInstantiation
no-accidental-bitwise-operator noAccidentalBitwiseOperators
no-array-for-each noForEach
no-array-sort-for-min-max noArraySortForMinMax
no-await-in-promise-methods noAwaitInPromiseMethods
no-boolean-sort-comparator noBooleanSortComparator
no-console-spaces noConsoleSpaces
no-document-cookie noDocumentCookie
no-double-comparison noDoubleComparison
no-duplicate-loops noEagerArrayMethodsInLoops
no-empty-file noEmptySource
no-for-each noArrayForEach (inspired)
no-for-loop useForOf
no-instanceof-array useIsArray
no-invalid-file-input-accept noInvalidFileInputAccept
no-invalid-remove-event-listener noInvalidRemoveEventListener
no-late-event-control noLateEventControl
no-lonely-if useCollapsedIf
no-magic-array-flat-depth noMagicArrayFlatDepth
no-mismatched-map-key noMismatchedMapKey (inspired)
no-negated-array-predicate noNegatedArrayPredicate
no-negated-condition noNegationElse
no-negation-in-equality-check noNegationInEqualityCheck
no-nested-ternary noNestedTernary (inspired)
no-null noNull
no-process-exit noProcessExit (inspired)
no-return-array-push noReturnArrayPush
no-single-promise-in-promise-methods noSinglePromiseInPromiseMethods
no-static-only-class noStaticOnlyClass
no-subtraction-comparison noSubtractionComparison
no-thenable noThenProperty
no-this-outside-of-class noThisOutsideOfClass
no-unnecessary-await noUselessAwait
no-unnecessary-splice noUselessSplice
no-unnecessary-string-trim noUnnecessaryStringTrim
no-unreadable-for-of-expression noUnreadableForOfExpression
no-unreadable-iife noUnreadableIife
no-useless-length-check noUselessLengthCheck
no-useless-recursion noUselessRecursion
no-useless-switch-case noUselessSwitchCase
no-useless-undefined noUselessUndefined
no-xor-as-exponentiation noXorAsExponentiation
no-zero-fractions noZeroFractions
numeric-separators-style useNumericSeparators
prefer-array-flat-map useFlatMap
prefer-array-index-of useIndexOf
prefer-array-some useArraySome (inspired)
prefer-at useAtIndex (inspired)
prefer-bigint-literals useBigintLiterals
prefer-block-statement-over-iife useBlockStatementOverIife
prefer-boolean-return useSimplifiedBooleanReturn
prefer-date-now useDateNow
prefer-dom-node-text-content useDomNodeTextContent
prefer-flat-math-min-max useFlatMathMinMax
prefer-global-this useGlobalThis
prefer-includes useIncludes (inspired)
prefer-iterator-zip useIteratorZip
prefer-math-abs useMathAbs
prefer-math-constants noApproximativeNumericConstant
prefer-math-min-max useMathMinMax
prefer-math-trunc useMathTrunc
prefer-modern-math-apis useModernMathApis
prefer-module noGlobalDirnameFilename (inspired)
prefer-node-protocol useNodejsImportProtocol
prefer-number-properties useNumberNamespace
prefer-object-from-entries useObjectFromEntries
prefer-query-selector useDomQuerySelector (inspired)
prefer-regexp-test useRegexpTest
prefer-set-size useSetSize
prefer-string-slice noSubstr
prefer-string-trim-start-end useTrimStartEnd
prefer-unary-minus useUnaryMinus
prefer-while-loop-condition useWhileLoopCondition
require-number-to-fixed-digits-argument useNumberToFixedDigitsArgument
throw-new-error useThrowNewError
eslint-plugin-unused-imports Rules name Biome Rules name
no-unused-imports noUnusedImports
no-unused-vars noUnusedVariables
eslint-plugin-vue Rules name Biome Rules name
camelcase useNamingConvention (inspired)
component-api-style noVueOptionsApi (inspired)
define-emits-declaration useVueConsistentDefineEmitsDeclaration
define-macros-order useVueDefineMacrosOrder
define-props-declaration useVueConsistentDefinePropsDeclaration
define-props-destructuring useVueDefinePropsDestructuring
dot-notation useLiteralKeys
eqeqeq noDoubleEquals
match-component-file-name useVueMatchingComponentFileName (inspired)
max-props noVueExcessiveProps
multi-word-component-names useVueMultiWordComponentNames (inspired)
next-tick-style useVueNextTickPromise (inspired)
no-arrow-functions-in-watch noVueArrowFuncInWatch
no-boolean-default noVueBooleanDefault
no-computed-properties-in-data noVueComputedPropertiesInData
no-console noConsole
no-constant-condition noConstantCondition
no-deprecated-data-object-declaration noVueDataObjectDeclaration (inspired)
no-deprecated-delete-set noVueDeprecatedDeleteSet
no-deprecated-destroyed-lifecycle noVueDeprecatedDestroyedLifecycle
no-deprecated-dollar-listeners-api noVueDeprecatedListeners
no-deprecated-dollar-scopedslots-api noVueDeprecatedScopedSlots
no-deprecated-events-api noVueDeprecatedEventsApi (inspired)
no-deprecated-model-definition noVueDeprecatedModelDefinition
no-deprecated-props-default-this noVueDeprecatedPropsDefaultThis
no-deprecated-vue-config-keycodes noVueDeprecatedConfigKeyCodes
no-dupe-keys noVueDuplicateKeys
no-empty-pattern noEmptyPattern
no-implicit-coercion noImplicitCoercions
no-import-compiler-macros noVueImportCompilerMacros
no-irregular-whitespace noIrregularWhitespace
no-lifecycle-after-await noVueLifecycleAfterAwait
no-loss-of-precision noPrecisionLoss
no-multiple-objects-in-class noVueMultipleObjectsInClass
no-multiple-slot-args noVueMultipleSlotArgs
no-mutating-props noVueMutatingProps
no-negated-condition noNegationElse
no-ref-as-operand noVueRefAsOperand
no-ref-object-reactivity-loss noVueRefObjectReactivityLoss (inspired)
no-required-prop-with-default noVueRequiredPropWithDefault
no-reserved-keys noVueReservedKeys
no-reserved-props noVueReservedProps
no-restricted-call-after-await noVueRestrictedCallAfterAwait
no-setup-props-reactivity-loss noVueSetupPropsReactivityLoss (inspired)
no-shadow-native-events noVueShadowNativeEvents (inspired)
no-shared-component-data noVueDataObjectDeclaration (inspired)
no-side-effects-in-computed-properties noVueSideEffectsInComputed (inspired)
no-sparse-arrays noSparseArray
no-template-target-blank noBlankTarget
no-this-in-before-route-enter noVueThisInBeforeRouteEnter
no-undef-properties noVueUndeclaredProperties (inspired)
no-unused-emit-declarations noVueUnusedEmitDeclarations
no-unused-vars noUnusedVariables
no-useless-concat noUselessStringConcat
no-watch-after-await noVueWatchAfterAwait
object-shorthand useConsistentObjectDefinitions
one-component-per-file useVueOneComponentPerFile (inspired)
prefer-define-options useVueDefineOptions
prefer-import-from-vue useVueBaseImport
prefer-prop-type-boolean-first useVueBooleanPropTypeFirst
prefer-separate-static-class useVueSeparateStaticClass
prefer-single-event-payload useVueSingleEventPayload (inspired)
prefer-template useTemplate
prefer-use-template-ref useVueTemplateRef (inspired)
prop-name-casing useVueConsistentPropNameCasing (inspired)
require-default-export useVueDefaultExport
require-default-prop useVueDefaultProp
require-emit-validator useVueEmitValidator (inspired)
require-explicit-emits noVueUndeclaredEmits
require-macro-variable-name useVueMacroVariableName
require-prop-type-constructor useVuePropTypeConstructor
require-prop-types useVueTypedProps
require-render-return useVueRenderReturn (inspired)
require-slots-as-functions useVueSlotsAsFunctions
require-typed-object-prop useVueTypedObjectProps
require-typed-ref useVueTypedRef
require-valid-default-prop useVueValidDefaultProp
return-in-computed-property useVueComputedPropertyReturn (inspired)
return-in-emits-validator useVueEmitsValidatorReturn
this-in-template noVueThisInTemplate (inspired)
valid-define-emits useVueValidDefineEmits
valid-define-options useVueValidDefineOptions
valid-define-props useVueValidDefineProps (inspired)
valid-next-tick useVueValidNextTick
valid-v-memo useVueValidVMemo
typescript-eslint Rules name Biome Rules name
adjacent-overload-signatures useAdjacentOverloadSignatures
array-type useConsistentArrayType
ban-ts-comment noTsIgnore (inspired)
ban-types noBannedTypes
consistent-type-definitions useConsistentTypeDefinitions
consistent-type-exports useExportType (inspired)
consistent-type-imports useImportType (inspired)
default-param-last useDefaultParameterLast
dot-notation useLiteralKeys
explicit-function-return-type useExplicitReturnType (inspired)
explicit-member-accessibility useConsistentMemberAccessibility
explicit-module-boundary-types useExplicitType (inspired)
max-params useMaxParams
method-signature-style useConsistentMethodSignatures
naming-convention useNamingConvention (inspired)
no-array-constructor useArrayLiterals
no-base-to-string noBaseToString
no-deprecated noDeprecatedImports (inspired)
no-dupe-class-members noDuplicateClassMembers
no-duplicate-enum-values noDuplicateEnumValues
no-dynamic-delete noDynamicDelete
no-empty-function noEmptyBlockStatements
no-empty-interface noEmptyInterface (inspired)
no-empty-object-type noBannedTypes (inspired)
no-explicit-any noExplicitAny
no-extra-non-null-assertion noExtraNonNullAssertion
no-extraneous-class noStaticOnlyClass
no-floating-promises noFloatingPromises
no-for-in-array noForIn (inspired)
no-implied-eval noImpliedEval
no-inferrable-types noInferrableTypes
no-invalid-void-type noConfusingVoidType
no-loop-func noLoopFunc
no-loss-of-precision noPrecisionLoss
no-magic-numbers noMagicNumbers
no-meaningless-void-operator noMeaninglessVoidOperator
no-misused-new noMisleadingInstantiator
no-misused-promises noMisusedPromises
no-mixed-enums useConsistentEnumValueType
no-namespace noNamespace
no-non-null-asserted-optional-chain noNonNullAssertedOptionalChain
no-non-null-assertion noNonNullAssertion
no-redeclare noRedeclare
no-require-imports noCommonJs
no-restricted-imports noRestrictedImports
no-restricted-types noRestrictedTypes
no-shadow noShadow
no-this-alias noUselessThisAlias (inspired)
no-unnecessary-condition noUnnecessaryConditions (inspired)
no-unnecessary-template-expression noUnnecessaryTemplateExpression (inspired)
no-unnecessary-type-assertion noUselessTypeAssertion
no-unnecessary-type-constraint noUselessTypeConstraint
no-unnecessary-type-conversion noUselessTypeConversion
no-unsafe-declaration-merging noUnsafeDeclarationMerging
no-unsafe-function-type noBannedTypes (inspired)
no-unsafe-return noUnsafeReturn
no-unsafe-unary-minus noUnsafeUnaryMinus
no-unused-vars noUnusedVariables
no-use-before-define noInvalidUseBeforeDeclaration
no-useless-constructor noUselessConstructor
no-useless-empty-export noUselessEmptyExport
no-var-requires noCommonJs
no-wrapper-object-types noBannedTypes (inspired)
only-throw-error useThrowOnlyError (inspired)
parameter-properties noParameterProperties (inspired)
prefer-as-const useAsConstAssertion
prefer-enum-initializers useEnumInitializers
prefer-find useArrayFind
prefer-for-of useForOf
prefer-function-type useShorthandFunctionType
prefer-includes useIncludes (inspired)
prefer-literal-enum-member useLiteralEnumMembers
prefer-namespace-keyword useNamespaceKeyword
prefer-nullish-coalescing useNullishCoalescing (inspired)
prefer-optional-chain useOptionalChain
prefer-promise-reject-errors usePromiseRejectErrors
prefer-readonly useReadonlyClassProperties
prefer-reduce-type-parameter useReduceTypeParameter (inspired)
prefer-regexp-exec useRegexpExec
prefer-string-starts-ends-with useStringStartsEndsWith (inspired)
require-array-sort-compare useArraySortCompare
require-await useAwait
restrict-plus-operands noUnsafePlusOperands
strict-boolean-expressions useStrictBooleanExpressions (inspired)
switch-exhaustiveness-check useExhaustiveSwitchCases
unified-signatures useUnifiedTypeSignatures
use-await-thenable useAwaitThenable (inspired)

Missing a rule? Help us by contributing to the analyzer or create a rule suggestion here.