Skip to content

Lint rules

This page lists every lint rule in Biome, grouped by language and then by group. Select a rule to see examples and its options. To learn how to enable, disable, and configure rules, see the Linter guide.

Rule Description Properties
noAccessKey Enforce that the accessKey attribute is not used on any HTML element.
noAmbiguousAnchorText Disallow ambiguous anchor descriptions.
noAriaHiddenOnFocusable Enforce that aria-hidden=“true” is not set on focusable elements.
noAriaUnsupportedElements Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.
noAutofocus Enforce that autoFocus prop is not used on elements.
noDistractingElements Enforces that no distracting elements are used.
noHeaderScope The scope prop should be used only on <th> elements.
noInteractiveElementToNoninteractiveRole Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
noLabelWithoutControl Enforce that a label element or component has a text label and an associated input.
noNoninteractiveElementInteractions Disallow use event handlers on non-interactive elements.
noNoninteractiveElementToInteractiveRole Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.
noNoninteractiveTabindex Enforce that tabIndex is not assigned to non-interactive HTML elements.
noPositiveTabindex Disallow positive values for the tabIndex property.
noRedundantAlt Enforce img alt prop does not contain the word “image”, “picture”, or “photo”.
noRedundantRoles Enforce explicit role property is not the same as implicit/default role property on an element.
noStaticElementInteractions Enforce that static, visible elements (such as <div>) that have click handlers use the valid role attribute.
noSvgWithoutTitle Enforces the usage of the title element for the svg element.
useAltText Enforce that all elements that require alternative text have meaningful information to relay back to the end user.
useAnchorContent Enforce that anchors have content and that the content is accessible to screen readers.
useAriaActivedescendantWithTabindex Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.
useAriaPropsForRole Enforce that elements with ARIA roles must have all required ARIA attributes for that role.
useAriaPropsSupportedByRole Enforce that ARIA properties are valid for the roles that are supported by the element.
useButtonType Enforces the usage of the attribute type for the element button
useFocusableInteractive Elements with an interactive role and interaction handlers must be focusable.
useHeadingContent Enforce that heading elements (h1, h2, etc.) have content and that the content is accessible to screen readers. Accessible means that it is not hidden using the aria-hidden prop.
useHtmlLang Enforce that html element has lang attribute.
useIframeTitle Enforces the usage of the attribute title for the element iframe.
useKeyWithClickEvents Enforce elements with a click event handler to also have at least one keyboard event handler.
useKeyWithMouseEvents Enforce onMouseOver / onMouseOut are accompanied by onFocus / onBlur.
useMediaCaption Enforces that audio and video elements must have a track for captions.
useSemanticElements Enforces using semantic DOM elements over the ARIA role property.
useValidAnchor Enforce that all anchors are valid, and they are navigable elements.
useValidAriaProps Disallow unknown aria-* attributes.
useValidAriaRole Elements with ARIA roles must use a valid, non-abstract ARIA role.
useValidAriaValues Enforce that ARIA state and property values are valid.
useValidAutocomplete Use valid values for the autocomplete attribute on input elements.
useValidLang Ensure that the attribute passed to the lang attribute is a correct ISO language and/or country.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noAdjacentSpacesInRegex Disallow unclear usage of consecutive space characters in regular expression literals
noArguments Disallow the use of arguments.
noBannedTypes Disallow primitive type aliases and misleading types.
noCommaOperator Disallow comma operator.
noDivRegex Disallow equal signs explicitly at the beginning of regular expressions.
noEmptyTypeParameters Disallow empty type parameters in type aliases and interfaces.
noExcessiveCognitiveComplexity Disallow functions that exceed a given Cognitive Complexity score.
noExcessiveLinesPerFunction Restrict the number of lines of code in a function.
noExcessiveNestedCallbacks Enforce a maximum depth that callbacks can be nested.
noExcessiveNestedTestSuites This rule enforces a maximum depth to nested describe() in test files.
noExtraBooleanCast Disallow unnecessary boolean casts
noFlatMapIdentity Disallow to use unnecessary callback on flatMap.
noForEach Prefer for...of statement instead of Array.forEach.
noImplicitCoercions Encourage use of explicit type conversion functions over their shorthand counterparts.
noPlaywrightUselessAwait Disallow unnecessary await for Playwright methods that don’t return promises.
noRedundantDefaultExport Checks if a default export exports the same symbol as a named export.
noStaticOnlyClass This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.
noThisInStatic Disallow this and super in static contexts.
noUnnecessaryTemplateExpression Disallow unnecessary template expressions.
noUselessCatch Disallow unnecessary catch clauses.
noUselessCatchBinding Disallow unused error parameters in catch clauses.
noUselessConstructor Disallow unnecessary constructors.
noUselessContinue Avoid using unnecessary continue.
noUselessEmptyExport Disallow empty exports that don’t change anything in a module file.
noUselessEscapeInRegex Disallow unnecessary escape sequence in regular expression literals.
noUselessFragments Disallow unnecessary JSX fragments.
noUselessLabel Disallow unnecessary labels.
noUselessLoneBlockStatements Disallow unnecessary nested block statements.
noUselessRename Disallow renaming import, export, and destructured assignments to the same name.
noUselessReturn Disallow redundant return statements.
noUselessStringConcat Disallow unnecessary concatenation of string or template literals.
noUselessStringRaw Disallow unnecessary String.raw function in template string literals without any escape sequence.
noUselessSwitchCase Disallow useless case in switch statements.
noUselessTernary Disallow ternary operators when simpler alternatives exist.
noUselessThisAlias Disallow aliases for this when this can be used directly.
noUselessTypeConstraint Disallow using any or unknown as type constraint.
noUselessUndefined Disallow the use of useless undefined.
noUselessUndefinedInitialization Disallow initializing variables to undefined.
noVoid Disallow the use of void operators, which is not a familiar operator.
useArrayFind Enforce the use of Array.prototype.find() over Array.prototype.filter() followed by [0] when looking for a single result.
useArraySome Prefer Array.prototype.some() over verbose existence checks.
useArrowFunction Use arrow functions over function expressions.
useDateNow Use Date.now() to get the number of milliseconds since the Unix Epoch.
useFlatMap Promotes the use of .flatMap() when map().flat() are used together.
useIndexOf Prefer Array#{indexOf,lastIndexOf}() over Array#{findIndex,findLastIndex}() when looking for the index of an item.
useLiteralKeys Enforce the usage of a literal access to properties over computed property access.
useMathMinMax Prefer Math.min() and Math.max() over ternaries for simple comparisons.
useMaxParams Enforce a maximum number of parameters in function definitions.
useNumericLiterals Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals
useOptionalChain Enforce using concise optional chain instead of chained logical expressions.
useRegexLiterals Enforce the use of the regular expression literals instead of the RegExp constructor if possible.
useRegexpTest Enforce the use of RegExp.prototype.test() over String.prototype.match() and RegExp.prototype.exec() in boolean contexts.
useSimpleNumberKeys Disallow number literal object member names which are not base 10 or use underscore as separator.
useSimplifiedLogicExpression Discard redundant terms from logical expressions.
useWhile Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noBeforeInteractiveScriptOutsideDocument Prevent usage of next/script’s beforeInteractive strategy outside of pages/_document.js in a Next.js project.
noChildrenProp Prevent passing of children as props.
noComponentHookFactories Disallows defining React components or custom hooks inside other functions.
noConstAssign Prevents from having const variables being re-assigned.
noConstantCondition Disallow constant expressions in conditions
noConstantMathMinMaxClamp Disallow the use of Math.min and Math.max to clamp a value where the result itself is constant.
noConstructorReturn Disallow returning a value from a constructor.
noEmptyCharacterClassInRegex Disallow empty character classes in regular expression literals.
noEmptyPattern Disallow empty object and array destructuring patterns.
noGlobalDirnameFilename Disallow the use of __dirname and __filename in the global scope.
noGlobalObjectCalls Disallow calling global object properties as functions
noInnerDeclarations Disallow function and var declarations that are accessible outside their block.
noInvalidBuiltinInstantiation Ensure that builtins are correctly instantiated.
noInvalidConstructorSuper Prevents the incorrect use of super() inside classes. It also checks whether a call super() is missing from classes that extends other constructors.
noInvalidUseBeforeDeclaration Disallow the use of variables, function parameters, classes, and enums before their declaration
noJsxNamespace Disallow JSX namespace syntax.
noNestedComponentDefinitions Disallows defining React components inside other components.
noNextAsyncClientComponent Prevent client components from being async functions.
noNodejsModules Forbid the use of Node.js builtin modules.
noNonoctalDecimalEscape Disallow \8 and \9 escape sequences in string literals.
noPlaywrightMissingAwait Enforce Playwright async APIs to be awaited or returned.
noPrecisionLoss Disallow literal numbers that lose precision
noPrivateImports Restrict imports of private exports.
noProcessGlobal Disallow the use of process global.
noQwikUseVisibleTask Disallow useVisibleTask$() functions in Qwik components.
noReactNativeRawText Disallow raw text outside <Text> components in React Native.
noReactPropAssignments Disallow assigning to React component props.
noRenderReturnValue Prevent the usage of the return value of React.render.
noRestrictedElements Disallow the use of configured elements.
noSelfAssign Disallow assignments where both sides are exactly the same.
noSetterReturn Disallow returning a value from a setter
noSolidDestructuredProps Disallow destructuring props inside JSX components in Solid projects.
noStringCaseMismatch Disallow comparison of expressions modifying the string case with non-compliant value.
noSwitchDeclarations Disallow declarations directly inside switch clauses.
noUndeclaredDependencies Disallow the use of dependencies that aren’t specified in the package.json.
noUndeclaredVariables Prevents the usage of variables that haven’t been declared inside the document.
noUnreachable Disallow code that can never run.
noUnreachableSuper Ensures the super() constructor is called exactly once on every code path in a class constructor before this is accessed if the class has a superclass
noUnresolvedImports Warn when importing non-existing exports.
noUnsafeFinally Disallow control flow statements in finally blocks.
noUnsafeOptionalChaining Disallow optional chaining where undefined is not a valid result.
noUnusedFunctionParameters Disallow unused function parameters.
noUnusedImports Disallow unused imports.
noUnusedInstantiation Disallow new operators outside of assignments or comparisons.
noUnusedLabels Disallow unused labels.
noUnusedPrivateClassMembers Disallow unused private class members
noUnusedVariables Disallow unused variables.
noVoidElementsWithChildren Disallow children on HTML void elements.
noVoidTypeReturn Disallow returning a value from a function with the return type ‘void’
noVueDataObjectDeclaration Enforce that Vue component data options are declared as functions.
noVueDuplicateKeys Disallow duplicate keys in Vue component data, methods, computed properties, and other options.
noVueImportCompilerMacros Disallow importing Vue compiler macros.
noVueRefAsOperand Disallow the use of value wrapped by ref()(Composition API) as operand
noVueReservedKeys Disallow reserved keys in Vue component data and computed properties.
noVueReservedProps Disallow reserved names to be used as props.
noVueSetupPropsReactivityLoss Disallow destructuring of props passed to setup in Vue projects.
useExhaustiveDependencies Enforce correct dependency usage within React hooks.
useHookAtTopLevel Enforce that all React hooks are being called from the Top Level component functions.
useImageSize Enforces that <img> elements have both width and height attributes.
useImportExtensions Enforce file extensions for relative imports.
useInlineScriptId Enforce id attribute on next/script components with inline content or dangerouslySetInnerHTML.
useIsNan Require calls to isNaN() when checking for NaN.
useJsonImportAttributes Enforces the use of with { type: "json" } for JSON module imports.
useJsxKeyInIterable Disallow missing key props in iterators/collection literals.
useParseIntRadix Enforce the consistent use of the radix argument when using parseInt().
usePlaywrightValidDescribeCallback Enforce valid describe() callback.
useQwikClasslist Prefer using the class prop as a classlist over the classnames helper.
useQwikLoaderLocation Enforce that Qwik loader functions are declared in the correct location.
useQwikMethodUsage Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.
useQwikValidLexicalScope Disallow unserializable expressions in Qwik dollar ($) scopes.
useReactAsyncServerFunction Require functions with the “use server” directive to be async.
useReactNativePlatformComponents Ensure that platform-specific React Native components are only
useSingleJsDocAsterisk Enforce JSDoc comment lines to start with a single asterisk, except for the first one.
useUniqueElementIds Disallow static id values on elements outside SVG contexts.
useValidForDirection Enforce “for” loop update clause moving the counter in the right direction.
useValidTypeof This rule checks that the result of a typeof expression is compared to a valid value.
useYield Require generator functions to contain yield.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noAccidentalBitwiseOperators Disallow bitwise operators where a logical operator was likely intended.
noAmd Disallow AMD require() and define() calls.
noArgumentsCallerOrCallee Disallow the use of arguments.caller and arguments.callee.
noArrayDelete Disallow using the delete operator on array elements.
noArrayForEach Disallow the forEach() method in favor of for...of loops.
noArrayMethodsOnArguments Disallow calling array methods on the arguments object.
noArrayReduce Disallow the reduce() and reduceRight() array methods.
noArraySortForMinMax Disallow sorting an array only to read its smallest or largest value.
noAstroComponentDefaultExport Disallow runtime default exports in Astro component frontmatter.
noAstroConflictingSetDirectives Disallow conflicting content sources on Astro elements.
noAstroSetHtmlDirective Disallow the use of Astro’s set:html directive.
noAsyncPromiseFinally Disallow async functions as .finally() callbacks.
noAwaitInPromiseMethods Disallow using await inside the array passed to Promise.all(), Promise.allSettled(), Promise.any(), or Promise.race().
noBaseToString Require stringification to avoid values that only use the default object representation.
noBooleanSortComparator Disallow sort comparators that return a boolean.
noBreakInNestedLoop Disallow break statements inside nested loops and inside switch statements in loops.
noBufferConstructor Disallow the deprecated Buffer() constructor in Node.js.
noBunModules Forbid the use of Bun builtin modules.
noCanvasToImage Disallow converting a canvas to an image only to draw it onto another canvas.
noChainedComparison Disallow chaining comparisons, as in a < b < c.
noCollectionBracketAccess Disallow using square brackets to read, write, or delete the entries of a Map, Set, WeakMap, or WeakSet.
noConfusingArraySplice Disallow splice() and toSpliced() calls that are harder to read than the operation they perform.
noConsoleSpaces Disallow leading and trailing spaces in console method arguments.
noConstantComparisons Disallow conditions that are always true, can never be true, or contain a check with no effect.
noConvexCollectInQuery Disallow loading every result of a Convex database query with .collect().
noConvexDuplicateIndexes Disallow Convex database indexes whose fields are the first fields of another index on the same table.
noConvexOldRegisteredFunctionSyntax Require the object syntax when registering Convex queries, mutations, and actions.
noConvexProcessEnv Disallow process.env in Convex functions.
noConvexQueryFilter Disallow calling .filter() on a Convex database query.
noConvexTimeOrRandomInQueries Disallow reading the current time or generating random values in Convex queries.
noConvexTopOfHourCrons Disallow scheduling Convex cron jobs at the start of the hour.
noConvexWrongRuntimeImports Disallow importing Node.js runtime files from Convex runtime files.
noDanglingUnderscore Disallow names that start or end with an underscore.
noDisabledAttribute Discourages the disabled attribute on form controls and on elements that act as buttons.
noDoubleComparison Disallow two comparisons of the same values that can be combined into one.
noDrizzleDbObjectInsideTransaction Disallow using a Drizzle ORM instance inside its own transaction callback.
noDuplicateExports Disallow exporting the same name more than once.
noDuplicateIfBranches Disallow two branches next to each other in an if statement from running the same code.
noDuplicateTypeConstituents Disallow duplicate types in union and intersection types.
noDynamicDelete Disallow using the delete operator with a property name that is computed at runtime.
noDynamicRequire Disallow require() calls whose module name isn’t a fixed string.
noEagerArrayMethodsInLoops Disallow .map() and .filter() calls in the header of for...of loops.
noErasingOperation Disallow operations with zero that always result in zero.
noExcessiveNestedBlocks Enforce a maximum depth that blocks can be nested.
noExcessiveStatementsPerFunction Enforce a maximum number of statements allowed in a function.
noExpectToHaveBeenCalledOnce Disallow toHaveBeenCalledOnce() in favor of toHaveBeenCalledTimes(1).
noExtendNative Disallow extending the prototype of built-in objects.
noFloatingPromises Require Promise-like statements to be handled appropriately.
noImmediateMutation Disallow changing a value right after it is created.
noImpliedEval Disallow the use of eval()-like methods.
noInvalidFetchOptions Disallow a request body in fetch() and new Request() when the method is GET or HEAD.
noInvalidFileInputAccept Disallow invalid accept values on file inputs.
noInvalidRemoveEventListener Disallow passing a newly created function to removeEventListener().
noInvalidThis Disallow this in places where it is undefined.
noJasmineGlobals Disallow Jasmine globals in Jest tests.
noJsRestrictedProperties Disallow specific object properties.
noLateCurrentTargetAccess Disallow reading event.currentTarget after the browser has finished handling the event.
noLateEventControl Disallow calling preventDefault(), stopPropagation(), or stopImmediatePropagation() after the browser has finished handling the event.
noMagicArrayFlatDepth Disallow unexplained numbers as the depth argument of Array.prototype.flat().
noMapSpread Disallow spreading objects or arrays in the values returned by map() and flatMap() callbacks.
noMeaninglessVoidOperator Disallow void when it does not discard a call’s return value or a thenable.
noMisleadingReturnType Detect return type annotations that are misleadingly wider than what
noMismatchedMapKey Disallow checking a map for one key and then using a different key.
noMisplacedListElements Require <li> elements with an HTML element parent to be children of <ul>, <ol>, or <menu>.
noMissingThrow Disallow creating an error with new without throwing it.
noMisusedPromises Disallow Promises to be used in places where they are almost certainly a
noMisusedSpread Disallow spreading values in ways that can cause unexpected results.
noMixedReturns Require return statements in a function to either always or never return a value.
noMutableExports Disallow exporting variables declared with let or var.
noNegatedArrayPredicate Disallow negating the result of Array#some() or Array#every().
noNegatedComparison Disallow negating a whole equality comparison.
noNegationInEqualityCheck Disallow negated expressions on the left side of an equality check.
noNestedSwitch Disallow switch statements inside other switch statements.
noNestedTemplateLiterals Disallow template literals inside other template literals.
noNewArray Disallow new Array() with a single argument.
noNewRequire Disallow calling require with the new operator.
noNonScalableViewport Disallow disabling zoom with user-scalable=no in the <meta name="viewport"> element.
noNull Disallow the use of the null literal.
noNumberArgumentOutOfRange Disallow number method arguments that are outside the range the method accepts.
noObjectConstructor Disallow calling Object without arguments to create an empty object.
noObjectLiteralComparison Disallow comparing a value with an empty object {} or an empty array [].
noObsoleteAttributes Disallow obsolete attributes on HTML elements.
noObsoleteTags Disallow obsolete HTML elements.
noOctal Disallow numbers written with an extra leading zero.
noOuterScopeInIsolatedFunctions Disallow using variables, this, and super from outside an isolated function.
noPathConcat Disallow building file paths and URLs by joining strings to __dirname, __filename, or import.meta values.
noPlaywrightNthMethods Disallow selecting Playwright elements by position with first(), last(), and nth().
noPlaywrightUnsafeReferences Disallow using variables from outside the function passed to page.evaluate() and page.addInitScript().
noProcessExit Disallow the use of process.exit().
noPromiseExecutorReturn Disallow returning values from the function passed to new Promise().
noReactDirectStateMutation Disallow mutating this.state directly in React class components.
noReactObjectTypeAsDefaultProp Disallow array, object, and function values as default props in React components.
noRedundantTypeConstituents Disallow members of union and intersection types that have no effect.
noRestrictedDependencies Disallow dependencies that are known to have better alternatives.
noReturnArrayPush Disallow using the return value of Array.prototype.push() and Array.prototype.unshift().
noReturnInFinally Disallow return statements in Promise.prototype.finally() callbacks.
noReturnInTest Disallow return statements in tests.
noSelfImport Forbid a module from importing itself.
noSharedBranchCode Disallow the same code at the start or end of every branch of an if statement.
noSinglePromiseInPromiseMethods Disallow passing an array with a single element to Promise.all(), Promise.any(), or Promise.race().
noSubtractionComparison Disallow subtracting two values only to compare the result with 0.
noSvelteAddEventListener Disallow addEventListener in Svelte files.
noSvelteAsyncStore Disallow passing async functions to Svelte stores.
noSvelteExportLet Disallow declaring Svelte component props with export let.
noSvelteIgnoredUnsubscribe Disallow ignoring the function returned by a store’s subscribe() method.
noSvelteInspect Disallow the use of the $inspect rune.
noSvelteInternal Disallow importing from svelte/internal.
noSvelteObjectInTextMustaches Disallow objects, arrays, functions, and classes in Svelte text mustaches.
noSvelteUnnecessaryStateWrap Disallow unnecessary $state wrapping of reactive classes.
noSvelteUselessDerivedBy Disallow $derived.by() when $derived() is sufficient.
noSyncMethods Disallow calling synchronous methods, such as fs.readFileSync().
noTailwindArbitraryValue Disallow arbitrary values in Tailwind CSS utility classes.
noTailwindConflictingClasses Disallow Tailwind CSS classes that set the same CSS properties on an element.
noTailwindLegacyImportant Disallow the leading ! important modifier in Tailwind CSS classes.
noTailwindLegacyUtilities Disallow Tailwind CSS utility classes that Tailwind CSS only keeps for backward compatibility.
noTailwindRawColors Disallow Tailwind CSS utility classes that use raw palette colors.
noTailwindRestrictedClasses Disallow Tailwind CSS classes and variants that your project doesn’t allow.
noTailwindRestyledComponents Disallow Tailwind utilities that override the appearance of components.
noTanstackQueryRestDestructuring Disallow rest destructuring and object spread on TanStack Query results.
noTanstackQueryUnstableDeps Disallow using the result of a TanStack Query hook as a React hook dependency.
noTanstackQueryVoidQueryFn Disallow TanStack Query functions that don’t return any data.
noTestGlobals Disallow using test APIs as global variables.
noTestHooks Disallow setup and teardown hooks in tests.
noThisOutsideOfClass Disallow this outside of classes.
noTripleSlashReference Disallow triple-slash reference comments that can be replaced by imports.
noUndeclaredClasses Reports CSS class names in JSX className or class attributes that are not defined
noUndeclaredCustomProperties Reports custom properties used with var() that have no visible declaration.
noUninvokedArrayCallback Disallow array methods with callbacks on arrays that only have empty slots.
noUnmodifiedLoopCondition Disallow loop conditions whose variables are never modified in the loop.
noUnnecessaryStringTrim Disallow trim() before startsWith() or endsWith() when only one side of the string matters.
noUnreadableForOfExpression Disallow complex expressions as the value that a for...of loop goes through.
noUnreadableIife Disallow immediately called arrow functions whose body is wrapped in parentheses.
noUnresolvedDefaultImport Disallow default imports from modules that have no default export.
noUnsafeIframeSandbox Disallow an unsafe combination of the sandbox attribute.
noUnsafePlusOperands Disallow + operations with operands that are known to be unsafe.
noUnsafeReturn Disallow returning a value typed as any from a function.
noUnsafeSqliteInterpolation Disallow inserting values into SQL strings passed to the exec() and prepare() methods of node:sqlite databases.
noUnsafeTypeAssertion Disallow TypeScript type assertions other than const assertions.
noUnsafeUnaryMinus Require the operand of unary - to be a number or a bigint.
noUselessAssignment Disallow assignments whose value is never read.
noUselessAwait Disallow await on values that are never promises.
noUselessBind Disallow unnecessary .bind() calls on functions.
noUselessCall Disallow unnecessary .call() and .apply().
noUselessDateGetTime Disallow calling .getTime() on a date before passing it to the Date constructor.
noUselessDefaultAssignment Disallow default values that can never be used.
noUselessFallbackInSpread Disallow empty object fallbacks when spreading a value into an object.
noUselessLengthCheck Disallow checking the length of an array when the result doesn’t depend on it.
noUselessNestedTernary Disallow nested ternary expressions that can be merged into one.
noUselessParameterPropertyAssignment Disallow assigning a parameter property to itself in the constructor.
noUselessQualifier Disallow unnecessary namespace and enum qualifiers.
noUselessReExportAll Disallow export * from a module that has no named exports.
noUselessRecursion Disallow functions that return a call to themselves when a loop can do the same work.
noUselessSetConstruction Disallow creating a Set that a Set method such as union() doesn’t need.
noUselessSplice Disallow splice() calls that have a simpler alternative.
noUselessSpread Disallow spread syntax that has no effect.
noUselessTypeAssertion Disallow type assertions that don’t change the type of an expression.
noUselessTypeConversion Disallow type conversions that do not change the type of an expression.
noVueAsyncComputed Disallow asynchronous code in Vue computed properties.
noVueBooleanDefault Disallow default values for Boolean props in Vue components.
noVueComputedPropertiesInData Disallow using computed properties inside the data function of a Vue component.
noVueComputedPropertyCall Disallow calling a Vue computed property whose value is not a function.
noVueDefineModelDefault Disallow default values in Vue’s defineModel().
noVueDeprecatedConfigKeyCodes Disallow the deprecated Vue.config.keyCodes option.
noVueDeprecatedDeleteSet Disallow the $set and $delete functions that Vue 3 removed.
noVueDeprecatedDestroyedLifecycle Disallow the deprecated destroyed and beforeDestroy lifecycle hooks in Vue components.
noVueDeprecatedEventsApi Disallow the Vue $on, $off, and $once instance methods.
noVueDeprecatedFilter Disallow the filter syntax that Vue 3 removed.
noVueDeprecatedListeners Disallow the deprecated Vue $listeners API.
noVueDeprecatedModelDefinition Disallow the deprecated model option in Vue components.
noVueDeprecatedPropsDefaultThis Disallow this in the default value function of a Vue prop.
noVueDeprecatedScopedSlots Disallow the deprecated Vue $scopedSlots API.
noVueDuplicateVElseIf Disallow duplicate conditions in v-if / v-else-if chains.
noVueExcessiveProps Limit the number of props a Vue component can declare.
noVueExportInScriptSetup Disallow export in <script setup>.
noVueExposeAfterAwait Disallow calling expose() or defineExpose() after an await in setup().
noVueLifecycleAfterAwait Disallow registering Vue lifecycle hooks after an await in setup().
noVueMixin Disallow the mixins option in Vue components.
noVueMultipleObjectsInClass Disallow more than one object in an array passed to :class.
noVueMultipleSlotArgs Disallow passing more than one argument to a Vue slot.
noVueMutatingProps Disallow changing the props of a Vue component.
noVueRefObjectReactivityLoss Disallow reading the value of a Vue ref in a place where the read runs only once.
noVueRequiredPropWithDefault Disallow props that are both required and have a default value.
noVueRestrictedCallAfterAwait Disallow calling configured functions after an await in setup().
noVueRestrictedComponentOptions Disallow configured options in Vue components.
noVueShadowNativeEvents Disallow Vue component events named after built-in browser events.
noVueSideEffectsInComputed Disallow changing state inside Vue computed properties.
noVueThisInBeforeRouteEnter Disallow this in the beforeRouteEnter navigation guard of a Vue component.
noVueThisInTemplate Disallow this in Vue templates.
noVueUndeclaredEmits Require Vue components to declare the events they emit.
noVueUndeclaredProperties Disallow using properties that a Vue component doesn’t declare.
noVueUnusedEmitDeclarations Disallow declaring events that a Vue component never emits.
noVueWatchAfterAwait Disallow creating Vue watchers after an await in setup().
noXorAsExponentiation Disallow the bitwise XOR operator where exponentiation was likely intended.
noZeroFractions Disallow number literals with zero fractions or dangling dots.
useAccessorPairs Require a getter for every setter in objects and classes.
useAtomicUpdates Disallow assignments that can be based on outdated values because of await or yield.
useAwaitThenable Enforce that await is only used on Promise values.
useBetterDomTraversing Prefer modern DOM traversal APIs over positional indexes and chained walks.
useBigintLiterals Enforce the use of bigint literals over the BigInt() constructor.
useBiomeKindSets Require kind sets instead of comparing kind names one by one in Biome JS plugins.
useBiomeTopLevelTypes Require kind sets in Biome JS plugins to be created at the top level of the module.
useBlockStatementOverIife Prefer block statements over functions that are called immediately only to create a scope.
useCalledWith Enforce using toHaveBeenCalledWith() to check the arguments of a function call.
useCapitalizedConstructors Require constructor names to begin with a capital letter.
useCatchErrorName Require a specific name for caught errors.
useConsistentBooleanName Require boolean names to start with a prefix such as is or has, and reserve those prefixes for booleans.
useConsistentBooleanProps Require a consistent style for JSX props with the value true
useConsistentDefaultExportStyle Enforce a consistent style for default-exported functions and classes.
useConsistentExistenceIndexCheck Enforce comparing with -1 when checking whether indexOf(), lastIndexOf(), findIndex(), or findLastIndex() found an element.
useConsistentFunctionStyle Enforce consistent use of function declarations or expressions assigned to variables.
useConsistentIndexedObjectStyle Require a consistent style for object types with arbitrary keys.
useConsistentJsonFileRead Enforce a consistent way of reading JSON files before passing them to JSON.parse().
useConsistentTupleLabels Require either all or none of the elements of a tuple type to have labels.
useConsistentUnicodeBom Require or disallow a Unicode byte order mark at the beginning of a file.
useControlLabel Enforce that interactive control elements have an accessible label.
useConvexAccessControl Require public Convex functions to call an access control function.
useConvexArgsValidator Require an args validator in Convex queries, mutations, and actions.
useConvexExplicitTableIds Require the table name as the first argument of Convex database calls.
useCustomErrorDefinition Enforce a consistent way of defining custom error classes.
useDescribeFunctionTitle Require passing an imported function as a test suite title instead of a string with its name.
useDisposables Detects a disposable object assigned to a variable without using or await using syntax.
useEarlyContinue Require an early continue instead of an if statement that wraps the rest of a loop body.
useElseIf Require else if when adjacent if statements compare the same value against different values.
useExhaustiveSwitchCases Require switch-case statements to be exhaustive.
useExpectEqualityMatcher Enforce using an equality matcher instead of comparing values with === or !== inside expect().
useExpectToContain Enforce using toContain() to check whether an array or string contains a value.
useExpectToHaveBeenCalled Enforce using toHaveBeenCalled() to check whether a mock function was called.
useExpectToHaveBeenCalledTimes Enforce using toHaveBeenCalledTimes() to check how many times a mock function was called.
useExpectToHaveLength Enforce using toHaveLength() to check the length of an array or string.
useExpectToStrictEqual Enforce using toStrictEqual() instead of toEqual() to compare values in tests.
useExplicitReturnType Require explicit return types on functions and class methods.
useExplicitType Enforce types in functions, methods, variables, and parameters.
useFlatMathMinMax Prefer flat Math.min() and Math.max() calls over nested calls of the same method.
useGlobalRegexInMatchAll Require regular expressions passed to matchAll() to have the g flag.
useGlobalRegexInReplaceAll Require regular expressions passed to replaceAll() to use the global flag.
useIncludes Prefer Array#includes() over Array#indexOf(), Array#lastIndexOf(), and Array#some() when checking for existence or non-existence.
useIteratorZip Prefer Iterator.zip() over reading several arrays with the same index.
useLowercaseTestTitle Require test and test suite titles to start with a lowercase letter.
useMatchingFunctionName Require function names to match the name of the variable or property they are assigned to.
useMathAbs Prefer Math.abs() over manual absolute value calculations and range checks.
useMathTrunc Require Math.trunc() instead of tricks that remove the decimal part of a number.
useModernMathApis Use modern Math APIs for common mathematical operations.
useNamedFunction Require function expressions to have a name.
useNegativeIndex Prefer negative indexes over subtracting from .length.
useNextScriptForGoogleAnalytics Enforce the use of the @next/third-parties/google components to load Google Analytics and Google Tag Manager.
useNullishCoalescing Enforce using the nullish coalescing operator (??) instead of logical or (`
useObjectFromEntries Enforce using Object.fromEntries() to build an object from a list of key-value pairs.
usePromiseRejectErrors Require Error objects as Promise rejection reasons.
useReactCompiler Validate files with React Compiler.
useReactFunctionComponentDefinition Enforce a specific function type for React function components.
useReactNamingConvention Enforces naming conventions for React createContext, useId, and useRef.
useReactNativeValidPlatformColors Require PlatformColor() and DynamicColorIOS() calls to use values written directly in the call.
useRegexpExec Enforce RegExp#exec over String#match if no global flag is provided.
useSetMethods Prefer the methods of Set for combining and comparing Sets.
useSetSize Prefer reading the size property of a Set over converting the Set to an array to read its length.
useSimplifiedBooleanReturn Return conditions directly instead of using if statements that only return true or false.
useSpyOn Enforce using jest.spyOn() or vi.spyOn() instead of overwriting a property with a mock function.
useStrictBooleanExpressions Require unambiguous boolean expressions in conditions.
useStringStartsEndsWith Prefer String#startsWith() and String#endsWith() over verbose prefix and suffix checks.
useSvelteEventDispatcherTypes Require createEventDispatcher calls to declare the types of their events.
useSvelteKitResolve Require internal navigation in SvelteKit apps to use paths built with resolve().
useSvelteKitRuneImports Require importing SvelteKit’s app state from $app/state instead of $app/stores.
useSvelteReactiveClasses Require the reactive classes from svelte/reactivity instead of built-in objects that are
useSvelteRequireEachKey Require keyed {#each} blocks in Svelte templates.
useSvelteStoreInitialValue Require Svelte stores to be created with an initial value.
useTailwindShorthandClasses Enforce using fewer Tailwind utilities instead of multiple utilities that are functionally the same.
useTailwindSortedClasses Enforce the sorting of Tailwind CSS classes.
useTailwindStaticClassStrings Require complete, statically written class names.
useTailwindVariablesShorthand Enforce the shorthand syntax for CSS variables in Tailwind CSS classes.
useTanstackQueryExhaustiveDependencies Require query keys to include every value that the query function uses.
useTanstackQueryInfiniteQueryPropertyOrder Enforce a consistent property order in the options of TanStack Query infinite query functions.
useTanstackQueryMutationPropertyOrder Enforce that onMutate comes before onError and onSettled in the options of TanStack Query mutations.
useTanstackQueryQueryOptions Require TanStack Query options to be created with queryOptions().
useTanstackQueryStableQueryClient Require the TanStack Query QueryClient to be created once, not on every render.
useTopLevelDescribe Require tests and hooks to be inside a describe block.
useTopLevelRequire Require require() calls to be placed at the top level of the module.
useUnaryMinus Enforce the use of the unary minus operator over multiplying or dividing by -1.
useValidCharacterComparison Disallow comparing a single character with a string that has more than one character.
useValidNamespaceImports Require that names read from a namespace import are exported by the imported module.
useValidTestTitle Enforce valid titles for unit test cases and test suites.
useVueBaseImport Enforce importing Vue’s public entry point instead of internal Vue packages.
useVueBooleanPropTypeFirst Require Boolean to be the first type of Vue props that accept several types.
useVueComputedPropertyReturn Require computed properties in Vue components to return a value.
useVueConsistentDefineEmitsDeclaration Enforce a consistent declaration style for Vue’s defineEmits macro.
useVueConsistentPropNameCasing Enforce a consistent casing style for prop names in Vue components.
useVueConsistentVOnHandlerStyle Enforce a consistent style for event handlers in Vue v-on directives.
useVueDefaultExport Require the <script> block of a Vue component to have a default export.
useVueDefaultProp Require a default value for optional props in Vue components.
useVueDefineOptions Enforce defineOptions() instead of a default export in components that use <script setup>.
useVueDefinePropsDestructuring Require destructuring the props returned by Vue’s defineProps macro.
useVueEmitValidator Require a validator function for each event declared in the emits option or in defineEmits().
useVueEmitsValidatorReturn Require the validator function of a Vue event to return a true value when the event is valid.
useVueMacroVariableName Require specific variable names for the results of defineProps(), defineEmits(), defineSlots(), useSlots() and useAttrs().
useVueMatchingComponentFileName Enforce that the name of a Vue component matches its file name.
useVueOneComponentPerFile Enforce that each file defines at most one Vue component.
useVuePropTypeConstructor Require the type of a Vue prop to be a constructor.
useVueRegisteredComponentNameCasing Enforce a consistent casing style for the names of components registered in the components option of Vue components.
useVueRenderReturn Require the render function of a Vue component to return a value.
useVueSeparateStaticClass Require static class names to be in a separate class attribute.
useVueSingleEventPayload Require Vue component events to carry at most one value.
useVueSlotsAsFunctions Require the slots in this.$slots to be called as functions.
useVueTemplateRef Require useTemplateRef() instead of ref() or shallowRef() to access elements of the template.
useVueTypedObjectProps Require a TypeScript type for Vue props declared with Object or Array.
useVueTypedProps Require a type for every prop of a Vue component.
useVueTypedRef Require a type for refs created with ref() or shallowRef() in TypeScript.
useVueValidDefaultProp Require the default value of a Vue prop to match the type of the prop.
useVueValidDefineEmits Enforce valid usage of Vue’s defineEmits macro.
useVueValidDefineOptions Enforce valid usage of Vue’s defineOptions() macro.
useVueValidDefineProps Enforce valid defineProps() calls in Vue components.
useVueValidNextTick Enforce valid calls to Vue’s nextTick function.
useVueValidVMemo Enforce valid v-memo Vue directives.
useWhileLoopCondition Require the condition that ends a loop to be written in the while statement.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noAccumulatingSpread Disallow the use of spread (...) syntax on accumulators.
noAwaitInLoops Disallow await inside loops.
noBarrelFile Disallow the use of barrel file.
noDelete Disallow the use of the delete operator.
noDynamicNamespaceImportAccess Disallow accessing namespace imports dynamically.
noImgElement Prevent usage of <img> element in a Next.js project.
noJsxPropsBind Disallow .bind(), arrow functions, or function expressions in JSX props
noNamespaceImport Disallow the use of namespace imports.
noReExportAll Avoid re-export all.
noSyncScripts Prevent the usage of synchronous scripts.
noUnwantedPolyfillio Prevent duplicate polyfills from Polyfill.io.
useDomNodeTextContent Prefer .textContent over .innerText for DOM node text.
useGoogleFontPreconnect Ensure the preconnect attribute is used when using Google Fonts.
useSolidForComponent Enforce using Solid’s <For /> component for mapping an array to JSX elements.
useTopLevelRegex Require regex literals to be declared at the top level.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noBlankTarget Disallow target="_blank" attribute without rel="noopener".
noDangerouslySetInnerHtml Disallow React’s dangerouslySetInnerHTML property.
noDangerouslySetInnerHtmlWithChildren Report when a DOM element or a component uses both children and dangerouslySetInnerHTML prop.
noGlobalEval Disallow the use of global eval().
noScriptUrl Disallow javascript: URLs.
noSecrets Disallow usage of sensitive data such as API keys and tokens.
useIframeSandbox Enforce the ‘sandbox’ attribute for ‘iframe’ elements.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noCommonJs Disallow use of CommonJs module system in favor of ESM style imports.
noContinue Disallow continue statements.
noDefaultExport Disallow default exports.
noDoneCallback Disallow using a callback in asynchronous tests and hooks.
noEnum Disallow TypeScript enum.
noExcessiveClassesPerFile Enforce a maximum number of classes per file.
noExcessiveLinesPerFile Restrict the number of lines in a file.
noExportedImports Disallow exporting an imported variable.
noHeadElement Prevent usage of <head> element in a Next.js project.
noImplicitBoolean Disallow implicit true values on JSX boolean attributes
noIncrementDecrement Disallows the usage of the unary operators ++ and –.
noInferrableTypes Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.
noInlineStyles Disallow the use of inline styles.
noJsxLiterals Disallow string literals inside JSX elements.
noMagicNumbers Reports usage of “magic numbers” — numbers used directly instead of being assigned to named constants.
noMultiAssign Disallow use of chained assignment expressions
noMultilineString Disallow creating multiline strings by escaping newlines.
noNamespace Disallow the use of TypeScript’s namespaces.
noNegationElse Disallow negation in the condition of an if statement if it has an else clause.
noNestedTernary Disallow nested ternary expressions.
noNonNullAssertion Disallow non-null assertions using the ! postfix operator.
noParameterAssign Disallow reassigning function parameters.
noParameterProperties Disallow the use of parameter properties in class constructors.
noPlaywrightElementHandle Disallow usage of element handles (page.$() and page.$$()).
noPlaywrightEval Disallow usage of page.$eval() and page.$$eval().
noPlaywrightWaitForSelector Disallow using page.waitForSelector().
noProcessEnv Disallow the use of process.env.
noReactNativeLiteralColors Disallow color literals in React Native styles.
noRestrictedGlobals This rule allows you to specify global variable names that you don’t want to use in your application.
noRestrictedImports Disallow specified modules when loaded by import or require.
noRestrictedTypes Disallow user defined types.
noShoutyConstants Disallow constants whose string value is the same as their uppercase name.
noSubstr Enforce the use of String.slice() over String.substr() and String.substring().
noTernary Disallow ternary operators.
noUnusedTemplateLiteral Disallow template literals if interpolation and special-character handling are not needed
noUselessElse Disallow else block when the if block breaks early.
noVueOptionsApi Disallow the use of Vue Options API.
noYodaExpression Disallow the use of yoda expressions.
useArrayLiterals Disallow Array constructors.
useAsConstAssertion Enforce the use of as const over literal type and type annotation.
useAtIndex Use at() instead of integer index access.
useBlockStatements Requires following curly brace conventions.
useCollapsedElseIf Enforce using else if instead of nested if in else clauses.
useCollapsedIf Enforce using single if instead of nested if clauses.
useComponentExportOnlyModules Enforce declaring components only within modules that export React Components exclusively.
useConsistentArrayType Require consistently using either T[] or Array<T>
useConsistentArrowReturn Enforce consistent arrow function bodies.
useConsistentBuiltinInstantiation Enforce the use of new for all builtins, except String, Number and Boolean.
useConsistentCurlyBraces This rule enforces consistent use of curly braces inside JSX attributes and JSX children.
useConsistentEnumValueType Disallow enums from having both number and string members.
useConsistentMemberAccessibility Require consistent accessibility modifiers on class properties and methods.
useConsistentMethodSignatures Enforce one syntax for functions declared in interfaces and type aliases.
useConsistentObjectDefinitions Require the consistent declaration of object literals.
useConsistentTestIt Enforce consistent use of it or test for test functions.
useConsistentTypeDefinitions Enforce type definitions to consistently use either interface or type.
useConst Require const declarations for variables that are only assigned once.
useDefaultParameterLast Enforce default function parameters and optional function parameters to be last.
useDefaultSwitchClause Require the default clause in switch statements.
useDestructuring Require destructuring from arrays and/or objects
useDomQuerySelector Prefer querySelector() and querySelectorAll() over older DOM query APIs.
useEnumInitializers Require that each enum member value be explicitly initialized.
useErrorCause Enforce that new Error() is thrown with the original error as cause.
useExplicitLengthCheck Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.
useExponentiationOperator Disallow the use of Math.pow in favor of the ** operator.
useExportType Promotes the use of export type for types.
useExportsLast Require that all exports are declared after all non-export statements.
useFilenamingConvention Enforce naming conventions for JavaScript and TypeScript filenames.
useForOf Prefer using for...of loops over standard for loops where possible.
useFragmentSyntax This rule enforces the use of <>...</> over <Fragment>...</Fragment>.
useGlobalThis Enforce the use of globalThis over window, self, and global.
useGroupedAccessorPairs Enforce that getters and setters for the same property are adjacent in class and object definitions.
useImportType Promotes the use of import type for types.
useImportsFirst Enforce that all imports appear at the top of the module.
useLiteralEnumMembers Require all enum members to be literal values.
useNamedCaptureGroup Enforce using named capture groups in regular expression.
useNamingConvention Enforce naming conventions for everything across a codebase.
useNodeAssertStrict Prefer node:assert/strict over node:assert.
useNodejsImportProtocol Enforces using the node: protocol for Node.js builtin modules.
useNumberNamespace Use the Number properties instead of global ones.
useNumericSeparators Enforce the use of numeric separators in numeric literals.
useObjectSpread Prefer object spread over Object.assign() when constructing new objects.
useReactFunctionComponents Enforce that components are defined as functions and never as classes.
useReadonlyClassProperties Enforce marking instance properties as readonly if they are never modified outside the
useReduceTypeParameter Enforce using a type parameter on Array#reduce instead of casting the initial value.
useSelfClosingElements Prevent extra closing tags for components without children.
useShorthandAssign Require assignment operator shorthand where possible.
useShorthandFunctionType Enforce using function types instead of object type with call signatures.
useSingleVarDeclarator Disallow multiple variable declarations in the same variable statement
useSpreadOverApply Enforce the use of the spread operator over .apply().
useSymbolDescription Require a description parameter for the Symbol().
useTemplate Prefer template literals over string concatenation.
useTestHooksInOrder Enforce that test lifecycle hooks are declared in the order they execute.
useTestHooksOnTop Enforce that lifecycle hooks appear before any test cases in the same block.
useThisInClassMethods Enforce that class methods utilize this.
useThrowNewError Require new when throwing an error.
useThrowOnlyError Disallow throwing non-Error values.
useTrimStartEnd Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().
useUnicodeRegex Enforce the use of the u or v flag for regular expressions.
useUnifiedTypeSignatures Disallow overload signatures that can be unified into a single signature.
useVarsOnTop Require var declarations to appear at the top of their containing scope.
useVueConsistentDefinePropsDeclaration Enforce a consistent declaration style for Vue’s defineProps macro.
useVueDefineMacrosOrder Enforce specific order of Vue compiler macros.
useVueMultiWordComponentNames Enforce multi-word component names in Vue components.
useVueNextTickPromise Enforces Promise syntax when using Vue nextTick.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noAlert Disallow the use of alert, confirm, and prompt.
noApproximativeNumericConstant Use standard constants instead of approximated literals.
noArrayIndexKey Discourage the usage of Array index in keys.
noAssignInExpressions Disallow assignments in expressions.
noAsyncPromiseExecutor Disallows using an async function as a Promise executor.
noBitwiseOperators Disallow bitwise operators.
noCatchAssign Disallow reassigning exceptions in catch clauses.
noClassAssign Disallow reassigning class members.
noCommentText Prevent comments from being inserted as text nodes
noCompareNegZero Disallow comparing against -0
noConditionalExpect Disallow conditional expect() calls inside tests.
noConfusingLabels Disallow labeled statements that are not loops.
noConfusingVoidType Disallow void type outside of generic or return types.
noConsole Disallow the use of console.
noConstEnum Disallow TypeScript const enum
noConstantBinaryExpressions Disallow expressions where the operation doesn’t affect the value
noControlCharactersInRegex Prevents from having control characters and some escape sequences that match control characters in regular expression literals.
noDebugger Disallow the use of debugger
noDeprecatedImports Restrict imports of deprecated exports.
noDocumentCookie Disallow direct assignments to document.cookie.
noDocumentImportInPage Prevents importing next/document outside of pages/_document.jsx in Next.js projects.
noDoubleEquals Require the use of === and !==.
noDrizzleDeleteWithoutWhere Require .where() to be called when using .delete() with Drizzle ORM.
noDrizzleUpdateWithoutWhere Require .where() to be called when using .update() with Drizzle ORM.
noDuplicateCase Disallow duplicate case labels.
noDuplicateClassMembers Disallow duplicate class members.
noDuplicateElseIf Disallow duplicate conditions in if-else-if chains
noDuplicateEnumValues Disallow duplicate enum member values.
noDuplicateJsxProps Disallow duplicate JSX properties.
noDuplicateObjectKeys Disallow two keys with the same name inside objects.
noDuplicateParameters Disallow duplicate function parameter name.
noDuplicateTestHooks A describe block should not contain duplicate hooks.
noDuplicatedSpreadProps Disallow JSX prop spreading the same identifier multiple times.
noEmptyBlockStatements Disallow empty block statements and static blocks.
noEmptyInterface Disallow the declaration of empty interfaces.
noEmptySource Disallow empty sources.
noEqualsToNull Require the use of === or !== for comparison with null.
noEvolvingTypes Disallow variables from evolving into any type through reassignments.
noExplicitAny Disallow the any type usage.
noExportsInTest Disallow using export or module.exports in files containing tests
noExtraNonNullAssertion Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.
noFallthroughSwitchClause Disallow fallthrough of switch clauses.
noFocusedTests Disallow focused tests.
noForIn Disallow iterating using a for-in loop.
noFunctionAssign Disallow reassigning function declarations.
noGlobalAssign Disallow assignments to native objects and read-only global variables.
noGlobalIsFinite Use Number.isFinite instead of global isFinite.
noGlobalIsNan Use Number.isNaN instead of global isNaN.
noHeadImportInDocument Prevent using the next/head module in pages/_document.js on Next.js projects.
noIdenticalTestTitle Disallow identical titles in test suites and test cases.
noImplicitAnyLet Disallow use of implicit any type on variable declarations.
noImportAssign Disallow assigning a new value to an imported variable.
noImportCycles Prevent import cycles.
noIrregularWhitespace Disallows the use of irregular whitespace characters.
noJsxLeakedDollar Flags text nodes with a trailing $ before a JSX expression.
noLabelVar Disallow labels that share a name with a variable
noLeakedRender Prevent problematic leaked values from being rendered.
noLoopFunc Disallow functions created inside loops when they use variables that can change.
noMisleadingCharacterClass Disallow characters made with multiple code points in character class syntax.
noMisleadingInstantiator Enforce proper usage of new and constructor.
noMisplacedAssertion Checks that the assertion function, for example expect, is placed inside an it() function call.
noMisrefactoredShorthandAssign Disallow shorthand assign when variable appears on both sides.
noNestedPromises Disallow nested .then() or .catch() promise calls.
noNonNullAssertedOptionalChain Disallow non-null assertions after optional chaining expressions.
noOctalEscape Disallow octal escape sequences in string literals
noParametersOnlyUsedInRecursion Disallow function parameters that are only used in recursive calls.
noPlaywrightForceOption Disallow usage of the { force: true } option.
noPlaywrightNetworkidle Disallow usage of the networkidle option.
noPlaywrightPagePause Disallow using page.pause().
noPlaywrightWaitForNavigation Disallow using page.waitForNavigation().
noPlaywrightWaitForTimeout Disallow using page.waitForTimeout().
noProto Disallow the use of the deprecated __proto__ object property.
noPrototypeBuiltins Disallow direct use of Object.prototype builtins.
noReactForwardRef Replaces usages of forwardRef with passing ref as a prop.
noReactNativeDeepImports Disallow deep imports from the react-native package.
noReactSpecificProps Prevents React-specific JSX properties from being used.
noReactStringRefs Disallow string refs in React components.
noRedeclare Disallow variable, function, class, and type redeclarations in the same scope.
noRedundantUseStrict Prevents from having redundant "use strict".
noReturnAssign Disallow assignments in return statements.
noSelfCompare Disallow comparisons where both sides are exactly the same.
noShadow Disallow variable declarations from shadowing variables declared in the outer scope.
noShadowRestrictedNames Disallow identifiers from shadowing restricted names.
noSkippedTests Disallow disabled tests.
noSparseArray Prevents the use of sparse arrays (arrays with holes).
noSuspiciousSemicolonInJsx It detects possible “wrong” semicolons inside JSX elements.
noTemplateCurlyInString Disallow template literal placeholder syntax in regular strings.
noThenProperty Disallow then property.
noTsIgnore Prevents the use of the TypeScript directive @ts-ignore.
noUnassignedVariables Disallow let or var variables that are read but never assigned.
noUndeclaredEnvVars Disallow the use of undeclared environment variables.
noUnknownAttribute Disallow unknown DOM properties.
noUnnecessaryConditions Disallow conditions that always evaluate to the same value.
noUnsafeDeclarationMerging Disallow unsafe declaration merging between interfaces and classes.
noUnsafeNegation Disallow using unsafe negation.
noUnusedExpressions Disallow expression statements that are neither a function call nor an
noUselessEscapeInString Disallow unnecessary escapes in string literals.
noUselessRegexBackrefs Disallow useless backreferences in regular expression literals that always match an empty string.
noVar Disallow the use of var
noVueArrowFuncInWatch Disallows using arrow functions when defining a watcher.
noWith Disallow with statements in non-strict contexts.
useAdjacentOverloadSignatures Disallow the use of overload signatures that are not next to each other.
useArraySortCompare Require Array#sort and Array#toSorted calls to always provide a compareFunction.
useAwait Ensure async functions utilize await.
useDefaultSwitchClauseLast Enforce default clauses in switch statements to be last
useErrorMessage Enforce passing a message value when creating a built-in error.
useExpect Ensure that test functions contain at least one expect() or similar assertion.
useGetterReturn Enforce get methods to always return a value.
useGoogleFontDisplay Enforces the use of a recommended display strategy with Google Fonts.
useGuardForIn Require for-in loops to include an if statement.
useIsArray Use Array.isArray() instead of instanceof Array.
useIterableCallbackReturn Enforce consistent return values in iterable callbacks.
useNamespaceKeyword Require using the namespace keyword over the module keyword to declare TypeScript namespaces.
useNumberToFixedDigitsArgument Enforce using the digits argument with Number#toFixed().
useStaticResponseMethods Use static Response methods instead of new Response() constructor when possible.
useStrictMode Enforce the use of the directive "use strict" in script files.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
useGenericFontNames Require a generic fallback in font-family lists.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noExcessiveSelectorClasses Limit the number of classes in a selector.
noImportantStyles Disallow !important declarations.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noInvalidDirectionInLinearGradient Disallow non-standard directions in linear gradients.
noInvalidGridAreas Disallow invalid named areas in CSS grid templates.
noInvalidPositionAtImportRule Disallow @import after other rules.
noMissingVarFunction Require var() when using a declared CSS custom property.
noUnknownFunction Disallow unrecognized CSS value functions.
noUnknownMediaFeatureName Disallow unrecognized feature names in media queries.
noUnknownProperty Disallow unrecognized CSS properties.
noUnknownPseudoClass Disallow unrecognized pseudo-class selectors.
noUnknownPseudoElement Disallow unrecognized pseudo-element selectors.
noUnknownTypeSelector Disallow unrecognized element names in type selectors.
noUnknownUnit Disallow unrecognized CSS units.
noUnmatchableAnbSelector Disallow An+B formulas that cannot select an element.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noExcessiveNestedBlocks Enforce a maximum depth that blocks can be nested.
noExcessiveSelectorComplexity Limit how complex selectors can be, and disallow chosen parts of selectors.
noInvalidPropertyInitValue Checks that the initial-value of an @property rule follows the value format declared by its syntax.
noMissingScssInterpolation Disallow Sass variables and function calls in custom property values without #{} interpolation.
noPseudoElementInFunctionalPseudoClass Disallow pseudo-elements inside :is(), :where(), :not() and :has().
noScssDeprecatedColorFunctions Disallow the deprecated Sass functions that read one channel of a color.
noScssNullComparison Disallow comparing values to null in Sass @if conditions.
noSelfNestedLayer Disallow nesting a cascade layer inside a layer with the same name.
noShortTimeValues Disallow animation and transition times that are shorter than a configured minimum.
noUndeclaredCustomProperties Reports custom properties used with var() that have no visible declaration.
noUnusedClasses Reports CSS class selectors that are never referenced in any JSX or HTML file.
noZeroLengthUnit Disallow units on zero lengths.
useConsistentFontWeightNotation Enforce a consistent notation for font weights.
useConsistentLightnessNotation Enforce a consistent notation for the lightness of colors.
useConsistentUnicodeBom Require or disallow a Unicode byte order mark at the beginning of a file.
useLayeredStyles Enforce style rules to be defined within a cascade layer.
useLogicalProperties Prefer logical CSS properties over physical properties.
useNamedLayer Disallow anonymous cascade layers.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noDescendingSpecificity Disallow lower-specificity selectors after higher-specificity selectors.
noExcessiveLinesPerFile Restrict the number of lines in a file.
noHexColors Disallow hex colors.
noValueAtRule Disallow the @value rule in CSS Modules.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noDeprecatedMediaType Disallow deprecated media types.
noDuplicateAtImportRules Disallow duplicate @import rules.
noDuplicateCustomProperties Disallow duplicate custom properties within declaration blocks.
noDuplicateFontNames Disallow duplicate names in font-family lists.
noDuplicateProperties Disallow duplicate properties within declaration blocks.
noDuplicateSelectors Disallow duplicate selectors.
noDuplicateSelectorsKeyframeBlock Disallow duplicate selectors within keyframe blocks.
noEmptyBlock Disallow empty CSS blocks.
noEmptySource Disallow empty sources.
noImportantInKeyframe Disallow !important in @keyframes declarations.
noIrregularWhitespace Disallow whitespace characters that CSS does not treat as normal spaces.
noShorthandPropertyOverrides Disallow shorthand properties that override earlier, more specific properties.
noUnknownAtRules Disallow unrecognized CSS at-rules.
noUselessEscapeInString Disallow unnecessary escapes in string literals.
useBaseline Disallow CSS properties, values, at-rules, functions, and selectors that are not part of the configured Baseline.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noJsonUnsafeValues Disallow unsafe JSON values that may cause interoperability issues.
noRestrictedDependencies Disallow dependencies that are known to have better alternatives.
useConsistentObjectKeys Enforce JSON keys with consistent Unicode representation.
useConsistentUnicodeBom Require or disallow a Unicode byte order mark at the beginning of a file.
usePackageJsonCpu Require the cpu field in package.json.
usePackageJsonEngines Require the engines field in package.json.
usePackageJsonValidCpu Require the cpu field in package.json to be a valid list of processor types.
usePackageJsonValidEngines Enforce that the engines field in package.json is valid.
usePackageJsonValidLicense Require the license field in package.json to be a valid license.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noTopLevelLiterals Require the JSON top-level value to be an array or object.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noBiomeFirstException Disallow ineffective ordering in files.includes patterns.
noDuplicateDependencies Disallow duplicate dependencies in package.json.
noDuplicateObjectKeys Disallow duplicate keys in JSON objects.
noEmptyObjectKeys Disallow empty keys in JSON objects.
noQuickfixBiome Disallow quickfix.biome in supported editor settings.
noUntrustedLicenses Disallow dependencies with untrusted licenses.
useBiomeIgnoreFolder Prefer folder exclusions that prevent Biome from scanning the folder.
useRequiredScripts Require configured scripts in package.json.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noDuplicateArgumentNames Require unique argument names for fields and directives.
noDuplicateEnumValueNames Disallow duplicate names in GraphQL enums.
noDuplicateFieldDefinitionNames Require all fields of a type to be unique.
noDuplicateInputFieldNames Require fields within an input object to be unique.
noDuplicateVariableNames Require all variable definitions to be unique.
useGraphqlNamedOperations Require a name for every explicit GraphQL operation definition.
useLoneAnonymousOperation Disallow an anonymous operation in a document with other operations.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
useConsistentUnicodeBom Require or disallow a Unicode byte order mark at the beginning of a file.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noExcessiveLinesPerFile Restrict the number of lines in a file.
noRootType Disallow configured GraphQL root operation types.
useConsistentGraphqlDescriptions Require one description style throughout a GraphQL schema.
useDeprecatedReason Require a reason when using the @deprecated directive.
useGraphqlNamingConvention Require uppercase names for GraphQL enum values.
useInputName Require mutation arguments to be named input.
useLoneExecutableDefinition Require one executable GraphQL definition per file.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noDuplicateFields Disallow duplicate names inside GraphQL operations.
noDuplicateGraphqlOperationName Require unique operation names within a GraphQL document.
noEmptySource Disallow empty sources.
useDeprecatedDate Require a valid deletion date on the @deprecated directive.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noAccessKey Disallow the accesskey attribute.
noAmbiguousAnchorText Disallow ambiguous anchor descriptions.
noAriaHiddenOnFocusable Enforce that aria-hidden=“true” is not set on focusable elements.
noAriaUnsupportedElements Disallow ARIA attributes on elements that cannot use them.
noAutofocus Enforce that the autofocus attribute is not used on elements.
noDistractingElements Enforces that no distracting elements are used.
noHeaderScope The scope prop should be used only on <th> elements.
noInteractiveElementToNoninteractiveRole Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.
noLabelWithoutControl Enforce that a label element or component has a text label and an associated input.
noNoninteractiveElementInteractions Disallow use event handlers on non-interactive elements.
noNoninteractiveElementToInteractiveRole Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.
noNoninteractiveTabindex Require a negative integer tabindex on non-interactive elements.
noPositiveTabindex Disallow positive values for the tabindex attribute.
noRedundantAlt Enforce img alt prop does not contain the word “image”, “picture”, or “photo”.
noRedundantRoles Enforce explicit role property is not the same as implicit/default role property on an element.
noStaticElementInteractions Require an appropriate role when a non-interactive element has event handlers.
noSvgWithoutTitle Require a supported labeling pattern for non-decorative SVG elements.
useAltText Enforce that all elements that require alternative text have meaningful information to relay back to the end user.
useAnchorContent Enforce that anchors have content and that the content is accessible to screen readers.
useAriaActivedescendantWithTabindex Enforce that tabindex is assigned to non-interactive HTML elements with aria-activedescendant.
useAriaPropsForRole Enforce that elements with ARIA roles must have all required ARIA attributes for that role.
useAriaPropsSupportedByRole Enforce that ARIA properties are valid for the roles that are supported by the element.
useButtonType Require an explicit, valid type on every <button>.
useFocusableInteractive Elements with an interactive role and interaction handlers must be focusable.
useHeadingContent Enforce that heading elements (h1, h2, etc.) have content and that the content is
useHtmlLang Require a lang attribute on the <html> element.
useIframeTitle Require a title on every <iframe>.
useKeyWithClickEvents Enforce elements with a click event handler to also have at least one keyboard event handler.
useKeyWithMouseEvents Require keyboard equivalents for mouse hover events.
useMediaCaption Enforces that audio and video elements must have a track for captions.
useSemanticElements Enforces using semantic DOM elements over the ARIA role property.
useValidAnchor Require anchors to provide a real navigation destination.
useValidAriaProps Disallow unknown aria-* attributes.
useValidAriaRole Elements with ARIA roles must use a valid, non-abstract ARIA role.
useValidAriaValues Enforce that ARIA state and property values are valid.
useValidAutocomplete Use valid values for the autocomplete attribute on input elements.
useValidLang Require a supported language tag on the <html> element.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noDuplicateAttributes Disallow duplication of attributes.
noRestrictedElements Disallow the use of configured elements.
noVueVIfWithVFor Disallow using v-if, v-else-if, or v-else and v-for directives on the same element.
noVueVOnNumberValues Disallow deprecated number modifiers on Vue v-on directives.
useVueVForKey Enforce that elements using v-for also specify a unique key.
useVueValidTemplateRoot Enforce valid Vue <template> root usage.
useVueValidVBind Forbids v-bind directives with missing values or invalid modifiers.
useVueValidVCloak Enforce valid v-cloak Vue directives.
useVueValidVElse Enforce valid usage of v-else.
useVueValidVElseIf Enforce valid v-else-if directives.
useVueValidVFor Enforces valid v-for directives in Vue templates.
useVueValidVHtml Enforce valid v-html directives.
useVueValidVIf Enforces valid v-if usage for Vue templates.
useVueValidVOn Enforce valid v-on directives with proper arguments, modifiers, and handlers.
useVueValidVOnce Enforce valid v-once Vue directives.
useVueValidVPre Enforce valid v-pre Vue directives.
useVueValidVText Enforce valid v-text Vue directives.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noAstroConflictingSetDirectives Disallow conflicting content sources on Astro elements.
noAstroSetHtmlDirective Disallow the use of Astro’s set:html directive.
noDisabledAttribute Discourages the disabled attribute on form controls and on elements that act as buttons.
noInvalidFileInputAccept Disallow invalid accept values on file inputs.
noMisplacedListElements Require <li> elements with an HTML element parent to be children of <ul>, <ol>, or <menu>.
noNonScalableViewport Disallow disabling zoom with user-scalable=no in the <meta name="viewport"> element.
noObsoleteAttributes Disallow obsolete attributes on HTML elements.
noObsoleteTags Disallow obsolete HTML elements.
noSvelteAtDebugTags Disallow the use of Svelte’s {@debug} tag.
noSvelteAtHtmlTags Disallow the use of Svelte’s {@html} tag.
noSvelteBindValueOnCheckableInputs Disallow bind:value on checkbox and radio inputs.
noSvelteClassDirective Disallow Svelte’s class: directive.
noSvelteLegacyConst Disallow legacy Svelte {@const} tags.
noTailwindArbitraryValue Disallow arbitrary values in Tailwind CSS utility classes.
noTailwindConflictingClasses Disallow Tailwind CSS classes that set the same CSS properties on an element.
noTailwindLegacyImportant Disallow the leading ! important modifier in Tailwind CSS classes.
noTailwindLegacyUtilities Disallow Tailwind CSS utility classes that Tailwind CSS only keeps for backward compatibility.
noTailwindRawColors Disallow Tailwind CSS utility classes that use raw palette colors.
noTailwindRestrictedClasses Disallow Tailwind CSS classes and variants that your project doesn’t allow.
noTailwindRestyledComponents Disallow Tailwind utilities that override the appearance of components.
noUndeclaredClasses Reports CSS class names in HTML class attributes that are not defined
noUndeclaredCustomProperties Disallow undeclared CSS custom properties in inline styles.
noUnsafeIframeSandbox Disallow allow-scripts together with allow-same-origin in an iframe sandbox.
noVueChildContent Disallow content inside elements whose content is replaced by v-html or v-text.
noVueContentOutsideBlock Disallow content outside of the top-level blocks in Vue components.
noVueDeprecatedFunctionalTemplate Disallow the deprecated functional attribute on the <template> of a Vue component.
noVueDeprecatedHtmlElementIs Disallow the is attribute on HTML elements in Vue templates.
noVueDeprecatedInlineTemplate Disallow the inline-template attribute on Vue components.
noVueDeprecatedRouterLinkTagProp Disallow the tag prop on RouterLink.
noVueDeprecatedScopeAttribute Disallow the scope attribute on <template> elements in Vue templates.
noVueDeprecatedSlotAttribute Disallow the deprecated slot attribute in Vue templates.
noVueDeprecatedSlotScope Disallow the deprecated slot-scope attribute in Vue templates.
noVueDeprecatedVBindSync Disallow the .sync modifier on Vue v-bind directives.
noVueDeprecatedVIs Disallow the deprecated Vue v-is directive.
noVueDeprecatedVOnNativeModifier Disallow the .native modifier on Vue’s v-on directive.
noVueLoneTemplate Disallow <template> elements in a Vue template that don’t use v-if, v-else-if, v-else, v-for, or v-slot.
noVueNegationElse Disallow negated conditions in v-if and v-else-if when a v-else branch follows.
noVueRestrictedVOn Disallow configured event listeners in v-on directives.
noVueRootVIf Disallow v-if on the root element of a Vue component template.
noVueTemplateKey Disallow the key attribute on <template> elements in Vue.
noVueTemplateShadow Disallow template variables that reuse the name of a variable from an outer scope.
noVueTextareaMustache Disallow {{ }} text interpolation inside a Vue <textarea>.
noVueUndeclaredDirectives Disallow custom Vue directives that are not declared.
noVueUndeclaredSlots Disallow <slot> elements whose slot isn’t declared in the component’s types.
noVueUnusedRefs Disallow template refs that are never used.
noVueUselessTemplateAttributes Disallow attributes and directives that have no effect on <template> elements.
noVueUselessVBind Disallow v-bind directives whose value is a fixed string.
noVueVForTemplateKeyOnChild Disallow placing the key of a <template v-for> on its child elements.
noVueVHtml Disallow the use of Vue’s v-html directive.
noVueVText Disallow the use of Vue’s v-text directive.
noVueVTextVHtmlOnComponent Disallow v-text and v-html on components.
useAstroClientOnlyDirectiveValue Require a value for Astro’s client:only directive.
useConsistentBlockLang Enforce which languages the top-level blocks of Vue and Svelte components use.
useConsistentUnicodeBom Require or disallow a Unicode byte order mark at the beginning of a file.
useControlLabel Enforce that interactive control elements have an accessible label.
useSvelteKitResolve Require internal navigation in SvelteKit apps to use paths built with resolve().
useSvelteShorthandDirective Enforce the shorthand syntax for Svelte bind:, class:, and style: directives.
useTailwindShorthandClasses Enforce using fewer Tailwind utilities instead of multiple utilities that are functionally the same.
useTailwindSortedClasses Enforce the sorting of Tailwind CSS classes.
useTailwindStaticClassStrings Require complete, statically written class names.
useTailwindVariablesShorthand Enforce the shorthand syntax for CSS variables in Tailwind CSS classes.
useVueBlockOrder Enforce the order of the top-level blocks in Vue components.
useVueComponentIs Require <component> elements to bind the is attribute.
useVueConsistentBooleanPropStyle Enforce a consistent style for component props set to true.
useVueConsistentEventHyphenation Enforce a consistent hyphenation style for event names in v-on directives on custom components.
useVueConsistentVForDelimiter Enforce a consistent delimiter between the item and the list in v-for directives.
useVueConsistentVSlotStyle Enforce a consistent style for v-slot in Vue templates.
useVueSlotNameCasing Enforce a consistent casing for the names of Vue slots.
useVueToggleInsideTransition Require the element inside a Vue <Transition> to be shown and hidden with v-if or v-show.
useVueVModel Enforce v-model instead of a prop binding paired with an update: listener that writes the value back.
useVueVOnExact Enforce the .exact modifier on v-on directives when another listener for the same event needs more modifier keys.
useVueValidAttributeName Require valid attribute names in Vue templates.
useVueValidVIs Enforce valid v-is Vue directives.
useVueValidVMemo Enforce valid v-memo Vue directives.
useVueValidVModel Enforce valid v-model directives.
useVueValidVShow Enforce valid v-show directives.
useVueValidVSlot Enforce valid v-slot directives in Vue templates.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noSyncScripts Disallow external scripts that block HTML parsing.
useVueVapor Enforce opting in to Vue Vapor mode in <script setup> blocks.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noScriptUrl Disallow javascript: URLs in HTML.
useIframeSandbox Require the sandbox attribute on <iframe> elements.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noExcessiveLinesPerFile Restrict the number of lines in a file.
noInlineStyles Disallow the use of inline styles.
useVueConsistentVBindStyle Enforce a consistent style for v-bind in Vue templates.
useVueConsistentVOnStyle Enforce a consistent style for v-on in Vue templates.
useVueHyphenatedAttributes Disallow uppercase letters in Vue template attribute names.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
useScopedStyles Keep component styles scoped in Vue and Astro files.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
useConsistentHeadingLevel Enforce that all heading levels are consistent and ordered.
useConsistentUnicodeBom Require or disallow a Unicode byte order mark at the beginning of a file.
useFencedCodeLanguage Enforce that fenced code blocks specify a code tag (language).
useSingleTopLevelHeading Enforce that a Markdown document has a single top-level heading.
useTopLevelHeading Require Markdown documents to start with a top-level heading.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noEmptySource Disallow empty sources.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noDuplicateMapKeys Disallow two keys with the same name inside YAML maps.
noYamlBooleanKeys Disallow boolean values as keys in YAML.
noYamlEmptyMapKeys Disallow empty keys in YAML maps.
noYamlEmptyMapValues Disallow keys without a value in YAML maps.
noYamlEmptySequenceEntries Disallow empty items in YAML lists.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet
Rule Description Properties
noEmptySource Disallow empty sources.
  • Recommended
  • Safe fix
  • Unsafe fix
  • Not released yet

Many Biome rules are based on rules from other linters. Use the tables below to find the Biome equivalent of a rule you already use.

A rule marked as inspired is not a direct port of the original rule, so its behavior can differ. Biome rules might also support fewer options than the original.

@convex-dev/eslint-plugin rule Biome rule
explicit-table-ids useConvexExplicitTableIds (inspired)
import-wrong-runtime noConvexWrongRuntimeImports (inspired)
no-collect-in-query noConvexCollectInQuery
no-duplicate-indexes noConvexDuplicateIndexes
no-filter-in-query noConvexQueryFilter
no-old-registered-function-syntax noConvexOldRegisteredFunctionSyntax
no-process-env noConvexProcessEnv (inspired)
no-time-or-random-in-queries noConvexTimeOrRandomInQueries
no-top-of-hour-crons noConvexTopOfHourCrons
require-access-control useConvexAccessControl (inspired)
require-args-validator useConvexArgsValidator
@e18e/eslint-plugin rule Biome rule
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 rule Biome rule
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-direct-mutation-state noReactDirectStateMutation (inspired)
no-forward-ref noReactForwardRef
no-missing-key useJsxKeyInIterable
no-nested-component-definitions noNestedComponentDefinitions
rsc-function-definition useReactAsyncServerFunction
@eslint/css rule Biome rule
font-family-fallbacks useGenericFontNames (inspired)
no-duplicate-imports noDuplicateAtImportRules (inspired)
no-duplicate-keyframe-selectors noDuplicateSelectorsKeyframeBlock
no-empty-blocks noEmptyBlock
no-important noImportantStyles
no-invalid-at-rule-placement noInvalidPositionAtImportRule (inspired)
no-invalid-at-rules noUnknownAtRules (inspired)
no-invalid-named-grid-areas noInvalidGridAreas
no-invalid-properties noUnknownProperty (inspired)
no-unmatchable-selectors noUnmatchableAnbSelector (inspired)
selector-complexity noExcessiveSelectorComplexity
use-baseline useBaseline (inspired)
use-layers useLayeredStyles (inspired)
@eslint/json rule Biome rule
no-duplicate-keys noDuplicateObjectKeys
no-empty-keys noEmptyObjectKeys
no-unnormalized-keys useConsistentObjectKeys
no-unsafe-values noJsonUnsafeValues
top-level-interop noTopLevelLiterals
@eslint/markdown rule Biome rule
no-multiple-h1 useSingleTopLevelHeading (inspired)
@html-eslint/eslint-plugin rule Biome rule
no-accesskey-attrs noAccessKey (inspired)
no-aria-hidden-on-focusable noAriaHiddenOnFocusable (inspired)
no-duplicate-attrs noDuplicateAttributes
no-empty-headings useHeadingContent (inspired)
no-inline-styles noInlineStyles
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)
use-baseline useBaseline (inspired)
@mysticatea/eslint-plugin rule Biome rule
no-this-in-static noThisInStatic
prefer-for-of useForOf
@next/eslint-plugin-next rule Biome rule
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 rule Biome rule
no-deep-imports noReactNativeDeepImports
platform-colors useReactNativeValidPlatformColors
@shadcn/lint rule Biome rule
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 rule Biome rule
jsx-curly-brace-presence useConsistentCurlyBraces (inspired)
jsx-self-closing-comp useSelfClosingElements
@tanstack/eslint-plugin-query rule Biome rule
exhaustive-deps useTanstackQueryExhaustiveDependencies
infinite-query-property-order useTanstackQueryInfiniteQueryPropertyOrder
mutation-property-order useTanstackQueryMutationPropertyOrder
no-rest-destructuring noTanstackQueryRestDestructuring
no-unstable-deps noTanstackQueryUnstableDeps
no-void-query-fn noTanstackQueryVoidQueryFn
prefer-query-options useTanstackQueryQueryOptions
stable-query-client useTanstackQueryStableQueryClient
@vitest/eslint-plugin rule Biome rule
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-hooks noTestHooks
no-identical-title noIdenticalTestTitle
no-standalone-expect noMisplacedAssertion (inspired)
no-test-return-statement noReturnInTest
prefer-called-times noExpectToHaveBeenCalledOnce
prefer-called-with useCalledWith
prefer-describe-function-title useDescribeFunctionTitle (inspired)
prefer-equality-matcher useExpectEqualityMatcher
prefer-hooks-in-order useTestHooksInOrder
prefer-hooks-on-top useTestHooksOnTop
prefer-importing-vitest-globals noTestGlobals (inspired)
prefer-lowercase-title useLowercaseTestTitle
prefer-spy-on useSpyOn
prefer-strict-equal useExpectToStrictEqual
prefer-to-contain useExpectToContain
prefer-to-have-been-called-times useExpectToHaveBeenCalledTimes
prefer-to-have-length useExpectToHaveLength
require-top-level-describe useTopLevelDescribe
valid-title useValidTestTitle
Clippy rule Biome rule
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 rule Biome rule
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 rule Biome rule
accessor-pairs useAccessorPairs
array-callback-return useIterableCallbackReturn
arrow-body-style useConsistentArrowReturn
camelcase useNamingConvention (inspired)
class-methods-use-this useThisInClassMethods
complexity noExcessiveCognitiveComplexity (inspired)
consistent-return noMixedReturns
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
global-require useTopLevelRequire
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-buffer-constructor noBufferConstructor
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-bind noUselessBind
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-atomic-updates useAtomicUpdates (inspired)
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
GraphQL-ESLint rule Biome rule
description-style useConsistentGraphqlDescriptions
input-name useInputName
lone-anonymous-operation useLoneAnonymousOperation
lone-executable-definition useLoneExecutableDefinition
no-anonymous-operations useGraphqlNamedOperations
no-duplicate-fields noDuplicateFields
no-root-type noRootType
require-deprecation-date useDeprecatedDate
require-deprecation-reason useDeprecatedReason
unique-argument-names noDuplicateArgumentNames
unique-enum-value-names noDuplicateEnumValueNames
unique-field-definition-names noDuplicateFieldDefinitionNames
unique-input-field-names noDuplicateInputFieldNames
unique-operation-name noDuplicateGraphqlOperationName (inspired)
unique-variable-names noDuplicateVariableNames
Oxlint rule Biome rule
bad-array-method-on-arguments noArrayMethodsOnArguments
bad-bitwise-operator noAccidentalBitwiseOperators
bad-char-at-comparison useValidCharacterComparison
bad-comparison-sequence noChainedComparison (inspired)
bad-match-all-arg useGlobalRegexInMatchAll
bad-min-max-func noConstantMathMinMaxClamp
bad-object-literal-comparison noObjectLiteralComparison
bad-replace-all-arg useGlobalRegexInReplaceAll
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)
Stylelint rule Biome rule
at-rule-no-unknown noUnknownAtRules
block-no-empty noEmptyBlock
color-no-hex noHexColors
csstools/use-logical useLogicalProperties
custom-property-no-missing-var-function noMissingVarFunction
declaration-block-no-duplicate-custom-properties noDuplicateCustomProperties
declaration-block-no-duplicate-properties noDuplicateProperties
declaration-block-no-shorthand-property-overrides noShorthandPropertyOverrides
declaration-no-important noImportantStyles
font-family-no-duplicate-names noDuplicateFontNames
font-family-no-missing-generic-family-keyword useGenericFontNames
font-weight-notation useConsistentFontWeightNotation
function-linear-gradient-no-nonstandard-direction noInvalidDirectionInLinearGradient
function-no-unknown noUnknownFunction
keyframe-block-no-duplicate-selectors noDuplicateSelectorsKeyframeBlock
keyframe-declaration-no-important noImportantInKeyframe
length-zero-no-unit noZeroLengthUnit
liberty/use-logical-spec useLogicalProperties
lightness-notation useConsistentLightnessNotation
max-nesting-depth noExcessiveNestedBlocks
media-feature-name-no-unknown noUnknownMediaFeatureName
media-type-no-deprecated noDeprecatedMediaType
named-grid-areas-no-invalid noInvalidGridAreas
no-descending-specificity noDescendingSpecificity
no-duplicate-at-import-rules noDuplicateAtImportRules
no-duplicate-selectors noDuplicateSelectors
no-empty-source noEmptySource
no-invalid-position-at-import-rule noInvalidPositionAtImportRule
no-irregular-whitespace noIrregularWhitespace
property-no-unknown noUnknownProperty
selector-anb-no-unmatchable noUnmatchableAnbSelector
selector-max-class noExcessiveSelectorClasses
selector-pseudo-class-no-unknown noUnknownPseudoClass
selector-pseudo-element-no-unknown noUnknownPseudoElement
selector-type-no-unknown noUnknownTypeSelector
time-min-milliseconds noShortTimeValues
unit-no-unknown noUnknownUnit
eslint-plugin-astro rule Biome rule
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
missing-client-only-directive-value useAstroClientOnlyDirectiveValue (inspired)
no-conflict-set-directives noAstroConflictingSetDirectives
no-exports-from-components noAstroComponentDefaultExport (inspired)
no-set-html-directive noAstroSetHtmlDirective
eslint-plugin-barrel-files rule Biome rule
avoid-barrel-files noBarrelFile (inspired)
avoid-namespace-import noNamespaceImport
avoid-re-export-all noReExportAll
eslint-plugin-better-tailwindcss rule Biome rule
enforce-consistent-class-order useTailwindSortedClasses (inspired)
enforce-consistent-important-position noTailwindLegacyImportant
enforce-consistent-variable-syntax useTailwindVariablesShorthand
enforce-shorthand-classes useTailwindShorthandClasses (inspired)
no-concatenated-classes useTailwindStaticClassStrings
no-conflicting-classes noTailwindConflictingClasses
no-deprecated-classes noTailwindLegacyUtilities (inspired)
no-restricted-classes noTailwindRestrictedClasses (inspired)
eslint-plugin-drizzle rule Biome rule
enforce-delete-with-where noDrizzleDeleteWithoutWhere
enforce-update-with-where noDrizzleUpdateWithoutWhere
eslint-plugin-import rule Biome rule
consistent-type-specifier-style useImportType (inspired)
default noUnresolvedDefaultImport
enforce-node-protocol-usage useNodejsImportProtocol
export noDuplicateExports (inspired)
exports-last useExportsLast
extensions useImportExtensions (inspired)
first useImportsFirst
named noUnresolvedImports (inspired)
namespace useValidNamespaceImports
no-amd noAmd
no-commonjs noCommonJs
no-cycle noImportCycles
no-default-export noDefaultExport
no-deprecated noDeprecatedImports (inspired)
no-dynamic-require noDynamicRequire
no-extraneous-dependencies noUndeclaredDependencies
no-mutable-exports noMutableExports
no-nodejs-modules noNodejsModules
no-self-import noSelfImport
eslint-plugin-import-access rule Biome rule
eslint-plugin-import-access noPrivateImports
eslint-plugin-jest rule Biome rule
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-hooks noTestHooks
no-identical-title noIdenticalTestTitle
no-jasmine-globals noJasmineGlobals
no-standalone-expect noMisplacedAssertion (inspired)
no-test-return-statement noReturnInTest
prefer-called-with useCalledWith
prefer-equality-matcher useExpectEqualityMatcher
prefer-hooks-in-order useTestHooksInOrder
prefer-hooks-on-top useTestHooksOnTop
prefer-importing-jest-globals noTestGlobals (inspired)
prefer-lowercase-title useLowercaseTestTitle
prefer-spy-on useSpyOn
prefer-strict-equal useExpectToStrictEqual
prefer-to-contain useExpectToContain
prefer-to-have-been-called useExpectToHaveBeenCalled
prefer-to-have-been-called-times useExpectToHaveBeenCalledTimes
prefer-to-have-length useExpectToHaveLength
require-top-level-describe useTopLevelDescribe
valid-title useValidTestTitle
eslint-plugin-jsdoc rule Biome rule
no-multi-asterisks useSingleJsDocAsterisk
eslint-plugin-jsx-a11y rule Biome rule
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 rule Biome rule
global-require useTopLevelRequire
no-deprecated-api noBufferConstructor (inspired)
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 rule Biome rule
no-secrets noSecrets (inspired)
eslint-plugin-package-json rule Biome rule
require-cpu usePackageJsonCpu
require-engines usePackageJsonEngines
unique-dependencies noDuplicateDependencies
valid-cpu usePackageJsonValidCpu
valid-engines usePackageJsonValidEngines
valid-license usePackageJsonValidLicense
eslint-plugin-package-json-dependencies rule Biome rule
duplicate-dependencies noDuplicateDependencies
eslint-plugin-playwright rule Biome rule
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-hooks noTestHooks
no-identical-title noIdenticalTestTitle
no-networkidle noPlaywrightNetworkidle
no-nth-methods noPlaywrightNthMethods
no-page-pause noPlaywrightPagePause
no-skipped-test noSkippedTests (inspired)
no-test-return-statement noReturnInTest
no-unsafe-references noPlaywrightUnsafeReferences
no-useless-await noPlaywrightUselessAwait
no-wait-for-navigation noPlaywrightWaitForNavigation
no-wait-for-selector noPlaywrightWaitForSelector
no-wait-for-timeout noPlaywrightWaitForTimeout
prefer-equality-matcher useExpectEqualityMatcher
prefer-hooks-in-order useTestHooksInOrder
prefer-hooks-on-top useTestHooksOnTop
prefer-lowercase-title useLowercaseTestTitle
prefer-strict-equal useExpectToStrictEqual
prefer-to-contain useExpectToContain
prefer-to-have-length useExpectToHaveLength
require-top-level-describe useTopLevelDescribe
valid-describe-callback usePlaywrightValidDescribeCallback
eslint-plugin-promise rule Biome rule
no-nesting noNestedPromises
no-return-in-finally noReturnInFinally (inspired)
eslint-plugin-qwik rule Biome rule
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 rule Biome rule
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-direct-mutation-state noReactDirectStateMutation (inspired)
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 rule Biome rule
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 rule Biome rule
component-hook-factories noComponentHookFactories
exhaustive-deps useExhaustiveDependencies
react-compiler noReactPropAssignments
rules-of-hooks useHookAtTopLevel
eslint-plugin-react-jsx rule Biome rule
no-children-prop noChildrenProp
no-leaked-dollar noJsxLeakedDollar
no-namespace noJsxNamespace
no-useless-fragment noUselessFragments
eslint-plugin-react-naming-convention rule Biome rule
context-name useReactNamingConvention
id-name useReactNamingConvention
ref-name useReactNamingConvention
eslint-plugin-react-native rule Biome rule
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 rule Biome rule
prefer-function-component useReactFunctionComponents
react-prefer-function-component useReactFunctionComponents
eslint-plugin-react-refresh rule Biome rule
only-export-components useComponentExportOnlyModules (inspired)
eslint-plugin-react-rsc rule Biome rule
function-definition useReactAsyncServerFunction
eslint-plugin-react-x rule Biome rule
component-hook-factories noComponentHookFactories
exhaustive-deps useExhaustiveDependencies
no-array-index-key noArrayIndexKey
no-direct-mutation-state noReactDirectStateMutation (inspired)
no-forward-ref noReactForwardRef
no-missing-key useJsxKeyInIterable
no-nested-component-definitions noNestedComponentDefinitions
eslint-plugin-regexp rule Biome rule
no-useless-backreference noUselessRegexBackrefs
prefer-regexp-exec useRegexpExec
eslint-plugin-solid rule Biome rule
jsx-no-script-url noScriptUrl
no-destructure noSolidDestructuredProps (inspired)
no-react-specific-props noReactSpecificProps
prefer-for useSolidForComponent (inspired)
eslint-plugin-sonarjs rule Biome rule
cognitive-complexity noExcessiveCognitiveComplexity
no-nested-switch noNestedSwitch
no-nested-template-literals noNestedTemplateLiterals
prefer-while useWhile (inspired)
eslint-plugin-svelte rule Biome rule
block-lang useConsistentBlockLang (inspired)
button-has-type useButtonType
no-add-event-listener noSvelteAddEventListener
no-at-const-tags noSvelteLegacyConst
no-at-debug-tags noSvelteAtDebugTags
no-at-html-tags noSvelteAtHtmlTags
no-bind-value-on-checkable-inputs noSvelteBindValueOnCheckableInputs
no-ignored-unsubscribe noSvelteIgnoredUnsubscribe
no-inline-styles noInlineStyles
no-inner-declarations noInnerDeclarations
no-inspect noSvelteInspect
no-navigation-without-resolve useSvelteKitResolve
no-object-in-text-mustaches noSvelteObjectInTextMustaches
no-restricted-html-elements noRestrictedElements (inspired)
no-store-async noSvelteAsyncStore
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-each-key useSvelteRequireEachKey
require-event-dispatcher-types useSvelteEventDispatcherTypes
require-stores-init useSvelteStoreInitialValue
shorthand-directive useSvelteShorthandDirective
eslint-plugin-tailwindcss rule Biome rule
classnames-order useTailwindSortedClasses (inspired)
enforces-shorthand useTailwindShorthandClasses
important-modifier-suffix noTailwindLegacyImportant
no-arbitrary-value noTailwindArbitraryValue
eslint-plugin-turbo rule Biome rule
no-undeclared-env-vars noUndeclaredEnvVars
eslint-plugin-unicorn rule Biome rule
better-dom-traversing useBetterDomTraversing (inspired)
catch-error-name useCatchErrorName
consistent-boolean-name useConsistentBooleanName (inspired)
consistent-date-clone noUselessDateGetTime
consistent-existence-index-check useConsistentExistenceIndexCheck
consistent-json-file-read useConsistentJsonFileRead
consistent-tuple-labels useConsistentTupleLabels
custom-error-definition useCustomErrorDefinition (inspired)
default-export-style useConsistentDefaultExportStyle (inspired)
error-message useErrorMessage
explicit-length-check useExplicitLengthCheck (inspired)
filename-case useFilenamingConvention (inspired)
isolated-functions noOuterScopeInIsolatedFunctions (inspired)
new-for-builtins noInvalidBuiltinInstantiation
no-accidental-bitwise-operator noAccidentalBitwiseOperators
no-array-for-each noForEach
no-array-reduce noArrayReduce
no-array-sort-for-min-max noArraySortForMinMax
no-async-promise-finally noAsyncPromiseFinally
no-await-in-promise-methods noAwaitInPromiseMethods
no-boolean-sort-comparator noBooleanSortComparator
no-break-in-nested-loop noBreakInNestedLoop
no-canvas-to-image noCanvasToImage
no-collection-bracket-access noCollectionBracketAccess
no-confusing-array-splice noConfusingArraySplice
no-console-spaces noConsoleSpaces
no-constant-zero-expression noErasingOperation (inspired)
no-document-cookie noDocumentCookie
no-double-comparison noDoubleComparison
no-duplicate-if-branches noDuplicateIfBranches (inspired)
no-duplicate-loops noEagerArrayMethodsInLoops
no-empty-file noEmptySource
no-for-each noArrayForEach (inspired)
no-for-loop useForOf
no-immediate-mutation noImmediateMutation (inspired)
no-instanceof-array useIsArray
no-invalid-fetch-options noInvalidFetchOptions (inspired)
no-invalid-file-input-accept noInvalidFileInputAccept
no-invalid-remove-event-listener noInvalidRemoveEventListener
no-late-current-target-access noLateCurrentTargetAccess (inspired)
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-comparison noNegatedComparison
no-negated-condition noNegationElse
no-negation-in-equality-check noNegationInEqualityCheck
no-nested-ternary noNestedTernary (inspired)
no-new-array noNewArray (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-nested-ternary noUselessNestedTernary (inspired)
no-unnecessary-splice noUselessSplice
no-unnecessary-string-trim noUnnecessaryStringTrim
no-unreadable-for-of-expression noUnreadableForOfExpression
no-unreadable-iife noUnreadableIife
no-unsafe-sqlite-interpolation noUnsafeSqliteInterpolation
no-useless-concat noUselessStringConcat (inspired)
no-useless-fallback-in-spread noUselessFallbackInSpread
no-useless-length-check noUselessLengthCheck
no-useless-recursion noUselessRecursion
no-useless-set-construction noUselessSetConstruction
no-useless-spread noUselessSpread
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-continue useEarlyContinue
prefer-date-now useDateNow
prefer-dom-node-text-content useDomNodeTextContent
prefer-else-if useElseIf (inspired)
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-negative-index useNegativeIndex
prefer-node-protocol useNodejsImportProtocol
prefer-number-properties useNumberNamespace
prefer-object-from-entries useObjectFromEntries
prefer-query-selector useDomQuerySelector (inspired)
prefer-regexp-test useRegexpTest
prefer-set-methods useSetMethods
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 rule Biome rule
no-unused-imports noUnusedImports
no-unused-vars noUnusedVariables
eslint-plugin-vue rule Biome rule
attribute-hyphenation useVueHyphenatedAttributes
block-lang useConsistentBlockLang (inspired)
block-order useVueBlockOrder (inspired)
camelcase useNamingConvention (inspired)
component-api-style noVueOptionsApi (inspired)
component-options-name-casing useVueRegisteredComponentNameCasing (inspired)
define-emits-declaration useVueConsistentDefineEmitsDeclaration
define-macros-order useVueDefineMacrosOrder
define-props-declaration useVueConsistentDefinePropsDeclaration
define-props-destructuring useVueDefinePropsDestructuring
dot-notation useLiteralKeys
enforce-style-attribute useScopedStyles (inspired)
eqeqeq noDoubleEquals
html-button-has-type useButtonType
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-async-in-computed-properties noVueAsyncComputed (inspired)
no-boolean-default noVueBooleanDefault
no-child-content noVueChildContent
no-computed-properties-in-data noVueComputedPropertiesInData
no-console noConsole
no-constant-condition noConstantCondition
no-content-outside-block noVueContentOutsideBlock
no-define-model-default noVueDefineModelDefault
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-filter noVueDeprecatedFilter
no-deprecated-functional-template noVueDeprecatedFunctionalTemplate
no-deprecated-html-element-is noVueDeprecatedHtmlElementIs
no-deprecated-inline-template noVueDeprecatedInlineTemplate
no-deprecated-model-definition noVueDeprecatedModelDefinition
no-deprecated-props-default-this noVueDeprecatedPropsDefaultThis
no-deprecated-router-link-tag-prop noVueDeprecatedRouterLinkTagProp
no-deprecated-scope-attribute noVueDeprecatedScopeAttribute
no-deprecated-slot-attribute noVueDeprecatedSlotAttribute (inspired)
no-deprecated-slot-scope-attribute noVueDeprecatedSlotScope
no-deprecated-v-bind-sync noVueDeprecatedVBindSync
no-deprecated-v-is noVueDeprecatedVIs
no-deprecated-v-on-native-modifier noVueDeprecatedVOnNativeModifier
no-deprecated-v-on-number-modifiers noVueVOnNumberValues
no-deprecated-vue-config-keycodes noVueDeprecatedConfigKeyCodes
no-dupe-keys noVueDuplicateKeys
no-dupe-v-else-if noVueDuplicateVElseIf
no-duplicate-attributes noDuplicateAttributes
no-empty-pattern noEmptyPattern
no-export-in-script-setup noVueExportInScriptSetup
no-expose-after-await noVueExposeAfterAwait
no-implicit-coercion noImplicitCoercions
no-import-compiler-macros noVueImportCompilerMacros
no-irregular-whitespace noIrregularWhitespace
no-lifecycle-after-await noVueLifecycleAfterAwait
no-lone-template noVueLoneTemplate
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-negated-v-if-condition noVueNegationElse (inspired)
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-restricted-component-options noVueRestrictedComponentOptions (inspired)
no-restricted-html-elements noRestrictedElements (inspired)
no-restricted-v-on noVueRestrictedVOn
no-root-v-if noVueRootVIf
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-key noVueTemplateKey
no-template-shadow noVueTemplateShadow
no-template-target-blank noBlankTarget
no-textarea-mustache noVueTextareaMustache
no-this-in-before-route-enter noVueThisInBeforeRouteEnter
no-undef-directives noVueUndeclaredDirectives
no-undef-properties noVueUndeclaredProperties (inspired)
no-unused-emit-declarations noVueUnusedEmitDeclarations
no-unused-refs noVueUnusedRefs
no-unused-vars noUnusedVariables
no-use-computed-property-like-method noVueComputedPropertyCall
no-use-v-else-with-v-for noVueVIfWithVFor
no-use-v-if-with-v-for noVueVIfWithVFor
no-useless-concat noUselessStringConcat
no-useless-template-attributes noVueUselessTemplateAttributes
no-useless-v-bind noVueUselessVBind (inspired)
no-v-for-template-key-on-child noVueVForTemplateKeyOnChild
no-v-html noVueVHtml
no-v-text noVueVText
no-v-text-v-html-on-component noVueVTextVHtmlOnComponent
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-true-attribute-shorthand useVueConsistentBooleanPropStyle
prefer-use-template-ref useVueTemplateRef (inspired)
prefer-v-model useVueVModel
prop-name-casing useVueConsistentPropNameCasing (inspired)
require-component-is useVueComponentIs
require-default-export useVueDefaultExport
require-default-prop useVueDefaultProp
require-emit-validator useVueEmitValidator (inspired)
require-explicit-emits noVueUndeclaredEmits
require-explicit-slots noVueUndeclaredSlots (inspired)
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-toggle-inside-transition useVueToggleInsideTransition
require-typed-object-prop useVueTypedObjectProps
require-typed-ref useVueTypedRef
require-v-for-key useVueVForKey
require-valid-default-prop useVueValidDefaultProp
return-in-computed-property useVueComputedPropertyReturn (inspired)
return-in-emits-validator useVueEmitsValidatorReturn
slot-name-casing useVueSlotNameCasing
this-in-template noVueThisInTemplate (inspired)
use-v-on-exact useVueVOnExact
v-bind-style useVueConsistentVBindStyle
v-for-delimiter-style useVueConsistentVForDelimiter
v-on-event-hyphenation useVueConsistentEventHyphenation
v-on-handler-style useVueConsistentVOnHandlerStyle
v-on-style useVueConsistentVOnStyle
v-slot-style useVueConsistentVSlotStyle
valid-attribute-name useVueValidAttributeName
valid-define-emits useVueValidDefineEmits
valid-define-options useVueValidDefineOptions
valid-define-props useVueValidDefineProps (inspired)
valid-next-tick useVueValidNextTick
valid-template-root useVueValidTemplateRoot
valid-v-bind useVueValidVBind
valid-v-cloak useVueValidVCloak
valid-v-else useVueValidVElse
valid-v-else-if useVueValidVElseIf
valid-v-for useVueValidVFor
valid-v-html useVueValidVHtml
valid-v-if useVueValidVIf
valid-v-is useVueValidVIs
valid-v-memo useVueValidVMemo
valid-v-model useVueValidVModel
valid-v-on useVueValidVOn
valid-v-once useVueValidVOnce
valid-v-pre useVueValidVPre
valid-v-show useVueValidVShow
valid-v-slot useVueValidVSlot
valid-v-text useVueValidVText
eslint-plugin-yml rule Biome rule
no-boolean-key noYamlBooleanKeys
no-empty-document noEmptySource
no-empty-key noYamlEmptyMapKeys
no-empty-mapping-value noYamlEmptyMapValues
no-empty-sequence-entry noYamlEmptySequenceEntries
graphql-schema-linter rule Biome rule
enum-values-all-caps useGraphqlNamingConvention (inspired)
markdownlint rule Biome rule
fenced-code-language useFencedCodeLanguage
first-line-heading useTopLevelHeading
heading-increment useConsistentHeadingLevel
single-title useSingleTopLevelHeading (inspired)
stylelint-scss rule Biome rule
at-if-no-null noScssNullComparison (inspired)
dollar-variable-no-missing-interpolation noMissingScssInterpolation (inspired)
function-color-channel noScssDeprecatedColorFunctions
typescript-eslint rule Biome rule
adjacent-overload-signatures useAdjacentOverloadSignatures
array-type useConsistentArrayType
ban-ts-comment noTsIgnore (inspired)
ban-types noBannedTypes
consistent-indexed-object-style useConsistentIndexedObjectStyle
consistent-return noMixedReturns (inspired)
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-array-delete noArrayDelete
no-base-to-string noBaseToString
no-deprecated noDeprecatedImports (inspired)
no-dupe-class-members noDuplicateClassMembers
no-duplicate-enum-values noDuplicateEnumValues
no-duplicate-type-constituents noDuplicateTypeConstituents (inspired)
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-misused-spread noMisusedSpread
no-mixed-enums useConsistentEnumValueType
no-namespace noNamespace
no-non-null-asserted-optional-chain noNonNullAssertedOptionalChain
no-non-null-assertion noNonNullAssertion
no-redeclare noRedeclare
no-redundant-type-constituents noRedundantTypeConstituents (inspired)
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-parameter-property-assignment noUselessParameterPropertyAssignment
no-unnecessary-qualifier noUselessQualifier
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-default-assignment noUselessDefaultAssignment (inspired)
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-destructuring useDestructuring
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
triple-slash-reference noTripleSlashReference
unified-signatures useUnifiedTypeSignatures
use-await-thenable useAwaitThenable (inspired)

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