Schema URL

Type: object

The configuration that is contained inside the file biome.json

Properties

$schema Schema | null

A field for the JSON schema specification

assist AssistConfiguration | null

Specific configuration for assists

css CssConfiguration | null

Specific configuration for the Css language

extends Extends | null

A list of paths to other JSON files, used to extends the current configuration.

files FilesConfiguration | null

The configuration of the filesystem

formatter FormatterConfiguration | null

The configuration of the formatter

graphql GraphqlConfiguration | null

Specific configuration for the GraphQL language

grit GritConfiguration | null

Specific configuration for the GraphQL language

html HtmlConfiguration | null

Specific configuration for the HTML language

javascript JsConfiguration | null

Specific configuration for the JavaScript language

json JsonConfiguration | null

Specific configuration for the Json language

linter LinterConfiguration | null

The configuration for the linter

overrides Overrides | null

A list of granular patterns that should be applied only to a sub set of files

plugins Plugins | null

List of plugins to load.

root Bool | null

Indicates whether this configuration file is at the root of a Biome project. By default, this is true.

vcs VcsConfiguration | null

The configuration of the VCS integration

Definitions

A11y object

A list of rules that belong to this group

noAccessKey NoAccessKeyConfiguration | null

Enforce that the accessKey attribute is not used on any HTML element.

noAriaHiddenOnFocusable NoAriaHiddenOnFocusableConfiguration | null

Enforce that aria-hidden="true" is not set on focusable elements.

noAriaUnsupportedElements NoAriaUnsupportedElementsConfiguration | null

Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes.

noAutofocus NoAutofocusConfiguration | null

Enforce that autoFocus prop is not used on elements.

noDistractingElements NoDistractingElementsConfiguration | null

Enforces that no distracting elements are used.

noHeaderScope NoHeaderScopeConfiguration | null

The scope prop should be used only on <th> elements.

noInteractiveElementToNoninteractiveRole NoInteractiveElementToNoninteractiveRoleConfiguration | null

Enforce that non-interactive ARIA roles are not assigned to interactive HTML elements.

noLabelWithoutControl NoLabelWithoutControlConfiguration | null

Enforce that a label element or component has a text label and an associated input.

noNoninteractiveElementInteractions NoNoninteractiveElementInteractionsConfiguration | null

Disallow use event handlers on non-interactive elements.

noNoninteractiveElementToInteractiveRole NoNoninteractiveElementToInteractiveRoleConfiguration | null

Enforce that interactive ARIA roles are not assigned to non-interactive HTML elements.

noNoninteractiveTabindex NoNoninteractiveTabindexConfiguration | null

Enforce that tabIndex is not assigned to non-interactive HTML elements.

noPositiveTabindex NoPositiveTabindexConfiguration | null

Prevent the usage of positive integers on tabIndex property

noRedundantAlt NoRedundantAltConfiguration | null

Enforce img alt prop does not contain the word "image", "picture", or "photo".

noRedundantRoles NoRedundantRolesConfiguration | null

Enforce explicit role property is not the same as implicit/default role property on an element.

noStaticElementInteractions NoStaticElementInteractionsConfiguration | null

Enforce that static, visible elements (such as <div>) that have click handlers use the valid role attribute.

noSvgWithoutTitle NoSvgWithoutTitleConfiguration | null

Enforces the usage of the title element for the svg element.

recommended boolean | null

Enables the recommended rules for this group

useAltText UseAltTextConfiguration | null

Enforce that all elements that require alternative text have meaningful information to relay back to the end user.

useAnchorContent UseAnchorContentConfiguration | null

Enforce that anchors have content and that the content is accessible to screen readers.

useAriaActivedescendantWithTabindex UseAriaActivedescendantWithTabindexConfiguration | null

Enforce that tabIndex is assigned to non-interactive HTML elements with aria-activedescendant.

useAriaPropsForRole UseAriaPropsForRoleConfiguration | null

Enforce that elements with ARIA roles must have all required ARIA attributes for that role.

useAriaPropsSupportedByRole UseAriaPropsSupportedByRoleConfiguration | null

Enforce that ARIA properties are valid for the roles that are supported by the element.

useButtonType UseButtonTypeConfiguration | null

Enforces the usage of the attribute type for the element button

useFocusableInteractive UseFocusableInteractiveConfiguration | null

Elements with an interactive role and interaction handlers must be focusable.

useGenericFontNames UseGenericFontNamesConfiguration | null

Disallow a missing generic family keyword within font families.

useHeadingContent UseHeadingContentConfiguration | null

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 UseHtmlLangConfiguration | null

Enforce that html element has lang attribute.

useIframeTitle UseIframeTitleConfiguration | null

Enforces the usage of the attribute title for the element iframe.

useKeyWithClickEvents UseKeyWithClickEventsConfiguration | null

Enforce onClick is accompanied by at least one of the following: onKeyUp, onKeyDown, onKeyPress.

useKeyWithMouseEvents UseKeyWithMouseEventsConfiguration | null

Enforce onMouseOver / onMouseOut are accompanied by onFocus / onBlur.

useMediaCaption UseMediaCaptionConfiguration | null

Enforces that audio and video elements must have a track for captions.

useSemanticElements UseSemanticElementsConfiguration | null

It detects the use of role attributes in JSX elements and suggests using semantic elements instead.

useValidAnchor UseValidAnchorConfiguration | null

Enforce that all anchors are valid, and they are navigable elements.

useValidAriaProps UseValidAriaPropsConfiguration | null

Ensures that ARIA properties aria-* are all valid.

useValidAriaRole UseValidAriaRoleConfiguration | null

Elements with ARIA roles must use a valid, non-abstract ARIA role.

useValidAriaValues UseValidAriaValuesConfiguration | null

Enforce that ARIA state and property values are valid.

useValidAutocomplete UseValidAutocompleteConfiguration | null

Use valid values for the autocomplete attribute on input elements.

useValidLang UseValidLangConfiguration | null

Ensure that the attribute passed to the lang attribute is a correct ISO language and/or country.

Accessibility string
Actions object
recommended boolean | null

It enables the assist actions recommended by Biome. true by default.

source Source | null
ArrowParentheses string
AssistConfiguration object
actions Actions | null

Whether Biome should fail in CLI if the assist were not applied to the code.

enabled Bool | null

Whether Biome should enable assist via LSP and CLI.

includes array | null

A list of glob patterns. Biome will include files/folders that will match these patterns.

AttributePosition string
Bool boolean
BracketSameLine boolean

Put the > of a multi-line HTML or JSX element at the end of the last line instead of being alone on the next line (does not apply to self closing elements).

BracketSpacing boolean
Complexity object

A list of rules that belong to this group

noAdjacentSpacesInRegex NoAdjacentSpacesInRegexConfiguration | null

Disallow unclear usage of consecutive space characters in regular expression literals

noArguments NoArgumentsConfiguration | null

Disallow the use of arguments.

noBannedTypes NoBannedTypesConfiguration | null

Disallow primitive type aliases and misleading types.

noCommaOperator NoCommaOperatorConfiguration | null

Disallow comma operator.

noEmptyTypeParameters NoEmptyTypeParametersConfiguration | null

Disallow empty type parameters in type aliases and interfaces.

noExcessiveCognitiveComplexity NoExcessiveCognitiveComplexityConfiguration | null

Disallow functions that exceed a given Cognitive Complexity score.

noExcessiveLinesPerFunction NoExcessiveLinesPerFunctionConfiguration | null

Restrict the number of lines of code in a function.

noExcessiveNestedTestSuites NoExcessiveNestedTestSuitesConfiguration | null

This rule enforces a maximum depth to nested describe() in test files.

noExtraBooleanCast NoExtraBooleanCastConfiguration | null

Disallow unnecessary boolean casts

noFlatMapIdentity NoFlatMapIdentityConfiguration | null

Disallow to use unnecessary callback on flatMap.

noForEach NoForEachConfiguration | null

Prefer for...of statement instead of Array.forEach.

noImplicitCoercions NoImplicitCoercionsConfiguration | null

Disallow shorthand type conversions.

noImportantStyles NoImportantStylesConfiguration | null

Disallow the use of the !important style.

noStaticOnlyClass NoStaticOnlyClassConfiguration | null

This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.

noThisInStatic NoThisInStaticConfiguration | null

Disallow this and super in static contexts.

noUselessCatch NoUselessCatchConfiguration | null

Disallow unnecessary catch clauses.

noUselessConstructor NoUselessConstructorConfiguration | null

Disallow unnecessary constructors.

noUselessContinue NoUselessContinueConfiguration | null

Avoid using unnecessary continue.

noUselessEmptyExport NoUselessEmptyExportConfiguration | null

Disallow empty exports that don't change anything in a module file.

noUselessEscapeInRegex NoUselessEscapeInRegexConfiguration | null

Disallow unnecessary escape sequence in regular expression literals.

noUselessFragments NoUselessFragmentsConfiguration | null

Disallow unnecessary fragments

noUselessLabel NoUselessLabelConfiguration | null

Disallow unnecessary labels.

noUselessLoneBlockStatements NoUselessLoneBlockStatementsConfiguration | null

Disallow unnecessary nested block statements.

noUselessRename NoUselessRenameConfiguration | null

Disallow renaming import, export, and destructured assignments to the same name.

noUselessStringConcat NoUselessStringConcatConfiguration | null

Disallow unnecessary concatenation of string or template literals.

noUselessStringRaw NoUselessStringRawConfiguration | null

Disallow unnecessary String.raw function in template string literals without any escape sequence.

noUselessSwitchCase NoUselessSwitchCaseConfiguration | null

Disallow useless case in switch statements.

noUselessTernary NoUselessTernaryConfiguration | null

Disallow ternary operators when simpler alternatives exist.

noUselessThisAlias NoUselessThisAliasConfiguration | null

Disallow useless this aliasing.

noUselessTypeConstraint NoUselessTypeConstraintConfiguration | null

Disallow using any or unknown as type constraint.

noUselessUndefinedInitialization NoUselessUndefinedInitializationConfiguration | null

Disallow initializing variables to undefined.

noVoid NoVoidConfiguration | null

Disallow the use of void operators, which is not a familiar operator.

recommended boolean | null

Enables the recommended rules for this group

useArrowFunction UseArrowFunctionConfiguration | null

Use arrow functions over function expressions.

useDateNow UseDateNowConfiguration | null

Use Date.now() to get the number of milliseconds since the Unix Epoch.

useFlatMap UseFlatMapConfiguration | null

Promotes the use of .flatMap() when map().flat() are used together.

useIndexOf UseIndexOfConfiguration | null

Prefer Array#{indexOf,lastIndexOf}() over Array#{findIndex,findLastIndex}() when looking for the index of an item.

useLiteralKeys UseLiteralKeysConfiguration | null

Enforce the usage of a literal access to properties over computed property access.

useNumericLiterals UseNumericLiteralsConfiguration | null

Disallow parseInt() and Number.parseInt() in favor of binary, octal, and hexadecimal literals

useOptionalChain UseOptionalChainConfiguration | null

Enforce using concise optional chain instead of chained logical expressions.

useRegexLiterals UseRegexLiteralsConfiguration | null

Enforce the use of the regular expression literals instead of the RegExp constructor if possible.

useSimpleNumberKeys UseSimpleNumberKeysConfiguration | null

Disallow number literal object member names which are not base 10 or use underscore as separator.

useSimplifiedLogicExpression UseSimplifiedLogicExpressionConfiguration | null

Discard redundant terms from logical expressions.

useWhile UseWhileConfiguration | null

Enforce the use of while loops instead of for loops when the initializer and update expressions are not needed.

ConsistentArrayType string | string
ConsistentTypeDefinition string | string
Convention object
formats

String cases to enforce

All of: Formats Format[]
match Regex | null

Regular expression to enforce

selector

Declarations concerned by this convention

All of: Selector object
Correctness object

A list of rules that belong to this group

noChildrenProp NoChildrenPropConfiguration | null

Prevent passing of children as props.

noConstAssign NoConstAssignConfiguration | null

Prevents from having const variables being re-assigned.

noConstantCondition NoConstantConditionConfiguration | null

Disallow constant expressions in conditions

noConstantMathMinMaxClamp NoConstantMathMinMaxClampConfiguration | null

Disallow the use of Math.min and Math.max to clamp a value where the result itself is constant.

noConstructorReturn NoConstructorReturnConfiguration | null

Disallow returning a value from a constructor.

noEmptyCharacterClassInRegex NoEmptyCharacterClassInRegexConfiguration | null

Disallow empty character classes in regular expression literals.

noEmptyPattern NoEmptyPatternConfiguration | null

Disallows empty destructuring patterns.

noGlobalDirnameFilename NoGlobalDirnameFilenameConfiguration | null

Disallow the use of __dirname and __filename in the global scope.

noGlobalObjectCalls NoGlobalObjectCallsConfiguration | null

Disallow calling global object properties as functions

noInnerDeclarations NoInnerDeclarationsConfiguration | null

Disallow function and var declarations that are accessible outside their block.

noInvalidBuiltinInstantiation NoInvalidBuiltinInstantiationConfiguration | null

Ensure that builtins are correctly instantiated.

noInvalidConstructorSuper NoInvalidConstructorSuperConfiguration | null

Prevents the incorrect use of super() inside classes. It also checks whether a call super() is missing from classes that extends other constructors.

noInvalidDirectionInLinearGradient NoInvalidDirectionInLinearGradientConfiguration | null

Disallow non-standard direction values for linear gradient functions.

noInvalidGridAreas NoInvalidGridAreasConfiguration | null

Disallows invalid named grid areas in CSS Grid Layouts.

noInvalidPositionAtImportRule NoInvalidPositionAtImportRuleConfiguration | null

Disallow the use of @import at-rules in invalid positions.

noInvalidUseBeforeDeclaration NoInvalidUseBeforeDeclarationConfiguration | null

Disallow the use of variables and function parameters before their declaration

noMissingVarFunction NoMissingVarFunctionConfiguration | null

Disallow missing var function for css variables.

noNestedComponentDefinitions NoNestedComponentDefinitionsConfiguration | null

Disallows defining React components inside other components.

noNodejsModules NoNodejsModulesConfiguration | null

Forbid the use of Node.js builtin modules.

noNonoctalDecimalEscape NoNonoctalDecimalEscapeConfiguration | null

Disallow \8 and \9 escape sequences in string literals.

noPrecisionLoss NoPrecisionLossConfiguration | null

Disallow literal numbers that lose precision

noPrivateImports NoPrivateImportsConfiguration | null

Restrict imports of private exports.

noProcessGlobal NoProcessGlobalConfiguration | null

Disallow the use of process global.

noReactPropAssignments NoReactPropAssignmentsConfiguration | null

Disallow assigning to React component props.

noRenderReturnValue NoRenderReturnValueConfiguration | null

Prevent the usage of the return value of React.render.

noRestrictedElements NoRestrictedElementsConfiguration | null

Disallow the use of configured elements.

noSelfAssign NoSelfAssignConfiguration | null

Disallow assignments where both sides are exactly the same.

noSetterReturn NoSetterReturnConfiguration | null

Disallow returning a value from a setter

noSolidDestructuredProps NoSolidDestructuredPropsConfiguration | null

Disallow destructuring props inside JSX components in Solid projects.

noStringCaseMismatch NoStringCaseMismatchConfiguration | null

Disallow comparison of expressions modifying the string case with non-compliant value.

noSwitchDeclarations NoSwitchDeclarationsConfiguration | null

Disallow lexical declarations in switch clauses.

noUndeclaredDependencies NoUndeclaredDependenciesConfiguration | null

Disallow the use of dependencies that aren't specified in the package.json.

noUndeclaredVariables NoUndeclaredVariablesConfiguration | null

Prevents the usage of variables that haven't been declared inside the document.

noUnknownFunction NoUnknownFunctionConfiguration | null

Disallow unknown CSS value functions.

noUnknownMediaFeatureName NoUnknownMediaFeatureNameConfiguration | null

Disallow unknown media feature names.

noUnknownProperty NoUnknownPropertyConfiguration | null

Disallow unknown properties.

noUnknownPseudoClass NoUnknownPseudoClassConfiguration | null

Disallow unknown pseudo-class selectors.

noUnknownPseudoElement NoUnknownPseudoElementConfiguration | null

Disallow unknown pseudo-element selectors.

noUnknownTypeSelector NoUnknownTypeSelectorConfiguration | null

Disallow unknown type selectors.

noUnknownUnit NoUnknownUnitConfiguration | null

Disallow unknown CSS units.

noUnmatchableAnbSelector NoUnmatchableAnbSelectorConfiguration | null

Disallow unmatchable An+B selectors.

noUnreachable NoUnreachableConfiguration | null

Disallow unreachable code

noUnreachableSuper NoUnreachableSuperConfiguration | null

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

noUnsafeFinally NoUnsafeFinallyConfiguration | null

Disallow control flow statements in finally blocks.

noUnsafeOptionalChaining NoUnsafeOptionalChainingConfiguration | null

Disallow the use of optional chaining in contexts where the undefined value is not allowed.

noUnusedFunctionParameters NoUnusedFunctionParametersConfiguration | null

Disallow unused function parameters.

noUnusedImports NoUnusedImportsConfiguration | null

Disallow unused imports.

noUnusedLabels NoUnusedLabelsConfiguration | null

Disallow unused labels.

noUnusedPrivateClassMembers NoUnusedPrivateClassMembersConfiguration | null

Disallow unused private class members

noUnusedVariables NoUnusedVariablesConfiguration | null

Disallow unused variables.

noVoidElementsWithChildren NoVoidElementsWithChildrenConfiguration | null

This rules prevents void elements (AKA self-closing elements) from having children.

noVoidTypeReturn NoVoidTypeReturnConfiguration | null

Disallow returning a value from a function with the return type 'void'

recommended boolean | null

Enables the recommended rules for this group

useExhaustiveDependencies UseExhaustiveDependenciesConfiguration | null

Enforce all dependencies are correctly specified in a React hook.

useGraphqlNamedOperations UseGraphqlNamedOperationsConfiguration | null

Enforce specifying the name of GraphQL operations.

useHookAtTopLevel UseHookAtTopLevelConfiguration | null

Enforce that all React hooks are being called from the Top Level component functions.

useImportExtensions UseImportExtensionsConfiguration | null

Enforce file extensions for relative imports.

useIsNan UseIsNanConfiguration | null

Require calls to isNaN() when checking for NaN.

useJsonImportAttributes UseJsonImportAttributesConfiguration | null

Enforces the use of with { type: "json" } for JSON module imports.

useJsxKeyInIterable UseJsxKeyInIterableConfiguration | null

Disallow missing key props in iterators/collection literals.

useParseIntRadix UseParseIntRadixConfiguration | null

Enforce the consistent use of the radix argument when using parseInt().

useSingleJsDocAsterisk UseSingleJsDocAsteriskConfiguration | null

Enforce JSDoc comment lines to start with a single asterisk, except for the first one.

useUniqueElementIds UseUniqueElementIdsConfiguration | null

Prevent the usage of static string literal id attribute on elements.

useValidForDirection UseValidForDirectionConfiguration | null

Enforce "for" loop update clause moving the counter in the right direction.

useValidTypeof UseValidTypeofConfiguration | null

This rule checks that the result of a typeof expression is compared to a valid value.

useYield UseYieldConfiguration | null

Require generator functions to contain yield.

CssAssistConfiguration object

Options that changes how the CSS assist behaves

enabled Bool | null

Control the assist for CSS files.

CssConfiguration object

Options applied to CSS files

assist CssAssistConfiguration | null

CSS assist options

Default: null
formatter CssFormatterConfiguration | null

CSS formatter options

Default: null
globals array | null

CSS globals

uniqueItems=true
linter CssLinterConfiguration | null

CSS linter options

Default: null
parser CssParserConfiguration | null

CSS parsing options

Default: null
CssFormatterConfiguration object

Options that changes how the CSS formatter behaves

enabled Bool | null

Control the formatter for CSS (and its super languages) files.

indentStyle IndentStyle | null

The indent style applied to CSS (and its super languages) files.

indentWidth IndentWidth | null

The size of the indentation applied to CSS (and its super languages) files. Default to 2.

lineEnding LineEnding | null

The type of line ending applied to CSS (and its super languages) files.

lineWidth LineWidth | null

What's the max width of a line applied to CSS (and its super languages) files. Defaults to 80.

quoteStyle QuoteStyle | null

The type of quotes used in CSS code. Defaults to double.

CssLinterConfiguration object

Options that changes how the CSS linter behaves

enabled Bool | null

Control the linter for CSS files.

CssParserConfiguration object

Options that changes how the CSS parser behaves

allowWrongLineComments Bool | null

Allow comments to appear on incorrect lines in .css files

Default: null
cssModules Bool | null

Enables parsing of CSS Modules specific features.

Default: null
CustomRestrictedElements Record<string, string>
CustomRestrictedType string | CustomRestrictedTypeOptions
CustomRestrictedTypeOptions object
message string
Default: ""
use string | null
Default: null
DependencyAvailability boolean | string[]
Expand string | string | string
Extends string[] | string
FilenameCase string | string | string | string | string

Supported cases for file names.

FilenameCases FilenameCase[]
FilesConfiguration object

The configuration of the filesystem

experimentalScannerIgnores array | null

Set of file and folder names that should be unconditionally ignored by Biome's scanner.

Biome maintains an internal list of default ignore entries, which is based on user feedback and which may change in any release. This setting allows overriding this internal list completely.

This is considered an advanced feature that users should not need to tweak themselves, but they can as a last resort. This setting can only be configured in root configurations, and is ignored in nested configs.

Entries must be file or folder names. Specific paths and globs are not supported.

Examples where this may be useful:

```jsonc { "files": { "experimentalScannerIgnores": [ // You almost certainly don't want to scan your .git // folder, which is why it's already ignored by default: ".git",

// But the scanner does scan node_modules by default. If // you really don't want this, you can ignore it like // this: "node_modules",

// But it's probably better to ignore a specific dependency. // For instance, one that happens to be particularly slow to // scan: "RedisCommander.d.ts", ], } } ```

Please be aware that rules relying on the module graph or type inference information may be negatively affected if dependencies of your project aren't (fully) scanned.

ignoreUnknown Bool | null

Tells Biome to not emit diagnostics when handling files that doesn't know

includes array | null

A list of glob patterns. Biome will handle only those files/folders that will match these patterns.

maxSize MaxSize | null

The maximum allowed size for source code files in bytes. Files above this limit will be ignored for performance reasons. Defaults to 1 MiB

FixKind string | string | string

Used to identify the kind of code action emitted by a rule

Format string

Supported cases.

Formats Format[]
FormatterConfiguration object

Generic options applied to all files

attributePosition AttributePosition | null

The attribute position style in HTML-ish languages. Defaults to auto.

bracketSameLine BracketSameLine | null

Put the > of a multi-line HTML or JSX element at the end of the last line instead of being alone on the next line (does not apply to self closing elements).

bracketSpacing BracketSpacing | null

Whether to insert spaces around brackets in object literals. Defaults to true.

enabled Bool | null
expand Expand | null

Whether to expand arrays and objects on multiple lines. When set to auto, object literals are formatted on multiple lines if the first property has a newline, and array literals are formatted on a single line if it fits in the line. When set to always, these literals are formatted on multiple lines, regardless of length of the list. When set to never, these literals are formatted on a single line if it fits in the line. When formatting package.json, Biome will use always unless configured otherwise. Defaults to "auto".

formatWithErrors Bool | null

Stores whether formatting should be allowed to proceed if a given file has syntax errors

includes array | null

A list of glob patterns. The formatter will include files/folders that will match these patterns.

indentStyle IndentStyle | null

The indent style.

indentWidth IndentWidth | null

The size of the indentation, 2 by default

lineEnding LineEnding | null

The type of line ending.

lineWidth LineWidth | null

What's the max width of a line. Defaults to 80.

useEditorconfig Bool | null

Use any .editorconfig files to configure the formatter. Configuration in biome.json will override .editorconfig configuration.

Default: true.

Glob string
GraphqlAssistConfiguration object

Options that changes how the GraphQL linter behaves

enabled Bool | null

Control the formatter for GraphQL files.

Default: null
GraphqlConfiguration object

Options applied to GraphQL files

Assist options

GraphQL formatter options

GraphqlFormatterConfiguration object

Options that changes how the GraphQL formatter behaves

bracketSpacing BracketSpacing | null

Whether to insert spaces around brackets in object literals. Defaults to true.

Default: null
enabled Bool | null

Control the formatter for GraphQL files.

Default: null
indentStyle IndentStyle | null

The indent style applied to GraphQL files.

Default: null
indentWidth IndentWidth | null

The size of the indentation applied to GraphQL files. Default to 2.

Default: null
lineEnding LineEnding | null

The type of line ending applied to GraphQL files.

Default: null
lineWidth LineWidth | null

What's the max width of a line applied to GraphQL files. Defaults to 80.

Default: null
quoteStyle QuoteStyle | null

The type of quotes used in GraphQL code. Defaults to double.

Default: null
GraphqlLinterConfiguration object

Options that change how the GraphQL linter behaves.

enabled Bool | null

Control the formatter for GraphQL files.

Default: null
GritAssistConfiguration object
enabled Bool | null

Control the assist functionality for Grit files.

GritConfiguration object

Options applied to GritQL files

assist GritAssistConfiguration | null

Assist options

formatter GritFormatterConfiguration | null

Formatting options

linter GritLinterConfiguration | null

Formatting options

GritFormatterConfiguration object
enabled Bool | null

Control the formatter for Grit files.

indentStyle IndentStyle | null

The indent style applied to Grit files.

indentWidth IndentWidth | null

The size of the indentation applied to Grit files. Default to 2.

lineEnding LineEnding | null

The type of line ending applied to Grit files.

lineWidth LineWidth | null

What's the max width of a line applied to Grit files. Defaults to 80.

GritLinterConfiguration object
enabled Bool | null

Control the linter for Grit files.

GroupMatcher ImportMatcher | SourceMatcher
GroupPlainConfiguration string | string | string | string | string
Hook object
closureIndex integer | null

The "position" of the closure function, starting from zero.

For example, for React's useEffect() hook, the closure index is 0.

Default: null
format=uint8min=0
dependenciesIndex integer | null

The "position" of the array of dependencies, starting from zero.

For example, for React's useEffect() hook, the dependencies index is 1.

Default: null
format=uint8min=0
name string

The name of the hook.

Default: ""
stableResult StableHookResult | null

Whether the result of the hook is stable.

Set to true to mark the identity of the hook's return value as stable, or use a number/an array of numbers to mark the "positions" in the return array as stable.

For example, for React's useRef() hook the value would be true, while for useState() it would be [1].

Default: null
HtmlConfiguration object

Options applied to HTML files

formatter HtmlFormatterConfiguration | null

HTML formatter options

parser HtmlParserConfiguration | null

HTML parsing options

HtmlFormatterConfiguration object

Options that changes how the HTML formatter behaves

attributePosition AttributePosition | null

The attribute position style in HTML elements. Defaults to auto.

bracketSameLine BracketSameLine | null

Whether to hug the closing bracket of multiline HTML tags to the end of the last line, rather than being alone on the following line. Defaults to false.

enabled Bool | null

Control the formatter for HTML (and its super languages) files.

indentScriptAndStyle IndentScriptAndStyle | null

Whether to indent the <script> and <style> tags for HTML (and its super languages). Defaults to false.

indentStyle IndentStyle | null

The indent style applied to HTML (and its super languages) files.

indentWidth IndentWidth | null

The size of the indentation applied to HTML (and its super languages) files. Default to 2.

lineEnding LineEnding | null

The type of line ending applied to HTML (and its super languages) files.

lineWidth LineWidth | null

What's the max width of a line applied to HTML (and its super languages) files. Defaults to 80.

selfCloseVoidElements SelfCloseVoidElements | null

Whether void elements should be self-closed. Defaults to never.

whitespaceSensitivity WhitespaceSensitivity | null

Whether to account for whitespace sensitivity when formatting HTML (and its super languages). Defaults to "css".

HtmlParserConfiguration object

Options that changes how the HTML parser behaves

interpolation Bool | null

Enables the parsing of double text expressions such as {{ expression }} inside .html files

ImportGroup null | GroupMatcher | GroupMatcher[]
ImportGroups ImportGroup[]
ImportMatcher object
source SourcesMatcher | null
type boolean | null
ImportSourceGlob

Glob to match against import sources.

IndentScriptAndStyle boolean

Whether to indent the content of <script> and <style> tags for HTML-ish templating languages (Vue, Svelte, etc.).

When true, the content of <script> and <style> tags will be indented one level.

IndentStyle string | string
IndentWidth integer
JsAssistConfiguration object

Assist options specific to the JavaScript assist

enabled Bool | null

Control the assist for JavaScript (and its super languages) files.

JsConfiguration object

A set of options applied to the JavaScript files

assist JsAssistConfiguration | null

Assist options

formatter JsFormatterConfiguration | null

Formatting options

globals array | null

A list of global bindings that should be ignored by the analyzers

If defined here, they should not emit diagnostics.

uniqueItems=true
jsxRuntime JsxRuntime | null

Indicates the type of runtime or transformation used for interpreting JSX.

linter JsLinterConfiguration | null

Linter options

parser JsParserConfiguration | null

Parsing options

JsFormatterConfiguration object

Formatting options specific to the JavaScript files

arrowParentheses ArrowParentheses | null

Whether to add non-necessary parentheses to arrow functions. Defaults to "always".

attributePosition AttributePosition | null

The attribute position style in JSX elements. Defaults to auto.

bracketSameLine BracketSameLine | null

Whether to hug the closing bracket of multiline HTML/JSX tags to the end of the last line, rather than being alone on the following line. Defaults to false.

bracketSpacing BracketSpacing | null

Whether to insert spaces around brackets in object literals. Defaults to true.

enabled Bool | null

Control the formatter for JavaScript (and its super languages) files.

expand Expand | null

Whether to expand arrays and objects on multiple lines. When set to auto, object literals are formatted on multiple lines if the first property has a newline, and array literals are formatted on a single line if it fits in the line. When set to always, these literals are formatted on multiple lines, regardless of length of the list. When set to never, these literals are formatted on a single line if it fits in the line. When formatting package.json, Biome will use always unless configured otherwise. Defaults to "auto".

indentStyle IndentStyle | null

The indent style applied to JavaScript (and its super languages) files.

indentWidth IndentWidth | null

The size of the indentation applied to JavaScript (and its super languages) files. Default to 2.

jsxQuoteStyle QuoteStyle | null

The type of quotes used in JSX. Defaults to double.

lineEnding LineEnding | null

The type of line ending applied to JavaScript (and its super languages) files.

lineWidth LineWidth | null

What's the max width of a line applied to JavaScript (and its super languages) files. Defaults to 80.

operatorLinebreak OperatorLinebreak | null

When breaking binary expressions into multiple lines, whether to break them before or after the binary operator. Defaults to "after".

quoteProperties QuoteProperties | null

When properties in objects are quoted. Defaults to asNeeded.

quoteStyle QuoteStyle | null

The type of quotes used in JavaScript code. Defaults to double.

semicolons Semicolons | null

Whether the formatter prints semicolons for all statements or only in for statements where it is necessary because of ASI.

trailingCommas TrailingCommas | null

Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Defaults to "all".

JsLinterConfiguration object

Linter options specific to the JavaScript linter

enabled Bool | null

Control the linter for JavaScript (and its super languages) files.

JsParserConfiguration object

Options that changes how the JavaScript parser behaves

gritMetavariables Bool | null

Enables parsing of Grit metavariables. Defaults to false.

jsxEverywhere Bool | null

When enabled, files like .js/.mjs/.cjs may contain JSX syntax.

Defaults to true.

unsafeParameterDecoratorsEnabled Bool | null

It enables the experimental and unsafe parsing of parameter decorators

These decorators belong to an old proposal, and they are subject to change.

JsonAssistConfiguration object

Linter options specific to the JSON linter

enabled Bool | null

Control the assist for JSON (and its super languages) files.

JsonConfiguration object

Options applied to JSON files

assist JsonAssistConfiguration | null

Assist options

formatter JsonFormatterConfiguration | null

Formatting options

linter JsonLinterConfiguration | null

Linting options

parser JsonParserConfiguration | null

Parsing options

JsonFormatterConfiguration object
bracketSpacing BracketSpacing | null

Whether to insert spaces around brackets in object literals. Defaults to true.

enabled Bool | null

Control the formatter for JSON (and its super languages) files.

expand Expand | null

Whether to expand arrays and objects on multiple lines. When set to auto, object literals are formatted on multiple lines if the first property has a newline, and array literals are formatted on a single line if it fits in the line. When set to always, these literals are formatted on multiple lines, regardless of length of the list. When set to never, these literals are formatted on a single line if it fits in the line. When formatting package.json, Biome will use always unless configured otherwise. Defaults to "auto".

indentStyle IndentStyle | null

The indent style applied to JSON (and its super languages) files.

indentWidth IndentWidth | null

The size of the indentation applied to JSON (and its super languages) files. Default to 2.

lineEnding LineEnding | null

The type of line ending applied to JSON (and its super languages) files.

lineWidth LineWidth | null

What's the max width of a line applied to JSON (and its super languages) files. Defaults to 80.

trailingCommas TrailingCommas2 | null

Print trailing commas wherever possible in multi-line comma-separated syntactic structures. Defaults to "none".

JsonLinterConfiguration object

Linter options specific to the JSON linter

enabled Bool | null

Control the linter for JSON (and its super languages) files.

JsonParserConfiguration object

Options that changes how the JSON parser behaves

allowComments Bool | null

Allow parsing comments in .json files

allowTrailingCommas Bool | null

Allow parsing trailing commas in .json files

JsxRuntime string | string

Indicates the type of runtime or transformation used for interpreting JSX.

Kind string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string
LineEnding string | string | string
LineWidth integer

Validated value for the line_width formatter options

The allowed range of values is 1..=320

LinterConfiguration object
domains RuleDomains | null

An object where the keys are the names of the domains, and the values are all, recommended, or none.

enabled Bool | null

if false, it disables the feature and the linter won't be executed. true by default

includes array | null

A list of glob patterns. The analyzer will handle only those files/folders that will match these patterns.

rules Rules | null

List of rules

MaxSize integer
Modifiers RestrictedModifier[]
NegatablePredefinedSourceMatcher string
NoAccessKeyConfiguration RulePlainConfiguration | RuleWithNoAccessKeyOptions
NoAccessKeyOptions object
NoAccumulatingSpreadConfiguration RulePlainConfiguration | RuleWithNoAccumulatingSpreadOptions
NoAccumulatingSpreadOptions object
NoAdjacentSpacesInRegexConfiguration RulePlainConfiguration | RuleWithNoAdjacentSpacesInRegexOptions
NoAdjacentSpacesInRegexOptions object
NoAlertConfiguration RulePlainConfiguration | RuleWithNoAlertOptions
NoAlertOptions object
NoApproximativeNumericConstantConfiguration RulePlainConfiguration | RuleWithNoApproximativeNumericConstantOptions
NoApproximativeNumericConstantOptions object
NoArgumentsConfiguration RulePlainConfiguration | RuleWithNoArgumentsOptions
NoArgumentsOptions object
NoAriaHiddenOnFocusableConfiguration RulePlainConfiguration | RuleWithNoAriaHiddenOnFocusableOptions
NoAriaHiddenOnFocusableOptions object
NoAriaUnsupportedElementsConfiguration RulePlainConfiguration | RuleWithNoAriaUnsupportedElementsOptions
NoAriaUnsupportedElementsOptions object
NoArrayIndexKeyConfiguration RulePlainConfiguration | RuleWithNoArrayIndexKeyOptions
NoArrayIndexKeyOptions object
NoAssignInExpressionsConfiguration RulePlainConfiguration | RuleWithNoAssignInExpressionsOptions
NoAssignInExpressionsOptions object
NoAsyncPromiseExecutorConfiguration RulePlainConfiguration | RuleWithNoAsyncPromiseExecutorOptions
NoAsyncPromiseExecutorOptions object
NoAutofocusConfiguration RulePlainConfiguration | RuleWithNoAutofocusOptions
NoAutofocusOptions object
NoAwaitInLoopsConfiguration RulePlainConfiguration | RuleWithNoAwaitInLoopsOptions
NoAwaitInLoopsOptions object
NoBannedTypesConfiguration RulePlainConfiguration | RuleWithNoBannedTypesOptions
NoBannedTypesOptions object
NoBarrelFileConfiguration RulePlainConfiguration | RuleWithNoBarrelFileOptions
NoBarrelFileOptions object
NoBiomeFirstExceptionConfiguration RulePlainConfiguration | RuleWithNoBiomeFirstExceptionOptions
NoBiomeFirstExceptionOptions object
NoBitwiseOperatorsConfiguration RulePlainConfiguration | RuleWithNoBitwiseOperatorsOptions
NoBitwiseOperatorsOptions object
allow string[]

Allows a list of bitwise operators to be used as exceptions.

NoBlankTargetConfiguration RulePlainConfiguration | RuleWithNoBlankTargetOptions
NoBlankTargetOptions object
allowDomains string[]

List of domains where target="_blank" is allowed without rel="noopener".

allowNoReferrer boolean

Whether noreferrer is allowed in addition to noopener.

Default: true
NoCatchAssignConfiguration RulePlainConfiguration | RuleWithNoCatchAssignOptions
NoCatchAssignOptions object
NoChildrenPropConfiguration RulePlainConfiguration | RuleWithNoChildrenPropOptions
NoChildrenPropOptions object
NoClassAssignConfiguration RulePlainConfiguration | RuleWithNoClassAssignOptions
NoClassAssignOptions object
NoCommaOperatorConfiguration RulePlainConfiguration | RuleWithNoCommaOperatorOptions
NoCommaOperatorOptions object
NoCommentTextConfiguration RulePlainConfiguration | RuleWithNoCommentTextOptions
NoCommentTextOptions object
NoCommonJsConfiguration RulePlainConfiguration | RuleWithNoCommonJsOptions
NoCommonJsOptions object
NoCompareNegZeroConfiguration RulePlainConfiguration | RuleWithNoCompareNegZeroOptions
NoCompareNegZeroOptions object
NoConfusingLabelsConfiguration RulePlainConfiguration | RuleWithNoConfusingLabelsOptions
NoConfusingLabelsOptions object
allowedLabels string[]

A list of (non-confusing) labels that should be allowed

NoConfusingVoidTypeConfiguration RulePlainConfiguration | RuleWithNoConfusingVoidTypeOptions
NoConfusingVoidTypeOptions object
NoConsoleConfiguration RulePlainConfiguration | RuleWithNoConsoleOptions
NoConsoleOptions object
allow string[]

Allowed calls on the console object.

NoConstAssignConfiguration RulePlainConfiguration | RuleWithNoConstAssignOptions
NoConstAssignOptions object
NoConstEnumConfiguration RulePlainConfiguration | RuleWithNoConstEnumOptions
NoConstEnumOptions object
NoConstantBinaryExpressionsConfiguration RulePlainConfiguration | RuleWithNoConstantBinaryExpressionsOptions
NoConstantBinaryExpressionsOptions object
NoConstantConditionConfiguration RulePlainConfiguration | RuleWithNoConstantConditionOptions
NoConstantConditionOptions object
NoConstantMathMinMaxClampConfiguration RulePlainConfiguration | RuleWithNoConstantMathMinMaxClampOptions
NoConstantMathMinMaxClampOptions object
NoConstructorReturnConfiguration RulePlainConfiguration | RuleWithNoConstructorReturnOptions
NoConstructorReturnOptions object
NoControlCharactersInRegexConfiguration RulePlainConfiguration | RuleWithNoControlCharactersInRegexOptions
NoControlCharactersInRegexOptions object
NoDangerouslySetInnerHtmlConfiguration RulePlainConfiguration | RuleWithNoDangerouslySetInnerHtmlOptions
NoDangerouslySetInnerHtmlOptions object
NoDangerouslySetInnerHtmlWithChildrenConfiguration RulePlainConfiguration | RuleWithNoDangerouslySetInnerHtmlWithChildrenOptions
NoDangerouslySetInnerHtmlWithChildrenOptions object
NoDebuggerConfiguration RulePlainConfiguration | RuleWithNoDebuggerOptions
NoDebuggerOptions object
NoDefaultExportConfiguration RulePlainConfiguration | RuleWithNoDefaultExportOptions
NoDefaultExportOptions object
NoDeleteConfiguration RulePlainConfiguration | RuleWithNoDeleteOptions
NoDeleteOptions object
NoDeprecatedImportsConfiguration RulePlainConfiguration | RuleWithNoDeprecatedImportsOptions
NoDeprecatedImportsOptions object
NoDescendingSpecificityConfiguration RulePlainConfiguration | RuleWithNoDescendingSpecificityOptions
NoDescendingSpecificityOptions object
NoDistractingElementsConfiguration RulePlainConfiguration | RuleWithNoDistractingElementsOptions
NoDistractingElementsOptions object
NoDocumentCookieConfiguration RulePlainConfiguration | RuleWithNoDocumentCookieOptions
NoDocumentCookieOptions object
NoDocumentImportInPageConfiguration RulePlainConfiguration | RuleWithNoDocumentImportInPageOptions
NoDocumentImportInPageOptions object
NoDoneCallbackConfiguration RulePlainConfiguration | RuleWithNoDoneCallbackOptions
NoDoneCallbackOptions object
NoDoubleEqualsConfiguration RulePlainConfiguration | RuleWithNoDoubleEqualsOptions
NoDoubleEqualsOptions object
ignoreNull boolean

If true, an exception is made when comparing with null, as it's often relied on to check both for null or undefined.

If false, no such exception will be made.

NoDuplicateAtImportRulesConfiguration RulePlainConfiguration | RuleWithNoDuplicateAtImportRulesOptions
NoDuplicateAtImportRulesOptions object
NoDuplicateCaseConfiguration RulePlainConfiguration | RuleWithNoDuplicateCaseOptions
NoDuplicateCaseOptions object
NoDuplicateClassMembersConfiguration RulePlainConfiguration | RuleWithNoDuplicateClassMembersOptions
NoDuplicateClassMembersOptions object
NoDuplicateCustomPropertiesConfiguration RulePlainConfiguration | RuleWithNoDuplicateCustomPropertiesOptions
NoDuplicateCustomPropertiesOptions object
NoDuplicateDependenciesConfiguration RulePlainConfiguration | RuleWithNoDuplicateDependenciesOptions
NoDuplicateDependenciesOptions object
NoDuplicateElseIfConfiguration RulePlainConfiguration | RuleWithNoDuplicateElseIfOptions
NoDuplicateElseIfOptions object
NoDuplicateFieldsConfiguration RulePlainConfiguration | RuleWithNoDuplicateFieldsOptions
NoDuplicateFieldsOptions object
NoDuplicateFontNamesConfiguration RulePlainConfiguration | RuleWithNoDuplicateFontNamesOptions
NoDuplicateFontNamesOptions object
NoDuplicateJsxPropsConfiguration RulePlainConfiguration | RuleWithNoDuplicateJsxPropsOptions
NoDuplicateJsxPropsOptions object
NoDuplicateObjectKeysConfiguration RulePlainConfiguration | RuleWithNoDuplicateObjectKeysOptions
NoDuplicateObjectKeysOptions object
NoDuplicateParametersConfiguration RulePlainConfiguration | RuleWithNoDuplicateParametersOptions
NoDuplicateParametersOptions object
NoDuplicatePropertiesConfiguration RulePlainConfiguration | RuleWithNoDuplicatePropertiesOptions
NoDuplicatePropertiesOptions object
NoDuplicateSelectorsKeyframeBlockConfiguration RulePlainConfiguration | RuleWithNoDuplicateSelectorsKeyframeBlockOptions
NoDuplicateSelectorsKeyframeBlockOptions object
NoDuplicateTestHooksConfiguration RulePlainConfiguration | RuleWithNoDuplicateTestHooksOptions
NoDuplicateTestHooksOptions object
NoDynamicNamespaceImportAccessConfiguration RulePlainConfiguration | RuleWithNoDynamicNamespaceImportAccessOptions
NoDynamicNamespaceImportAccessOptions object
NoEmptyBlockConfiguration RulePlainConfiguration | RuleWithNoEmptyBlockOptions
NoEmptyBlockOptions object
NoEmptyBlockStatementsConfiguration RulePlainConfiguration | RuleWithNoEmptyBlockStatementsOptions
NoEmptyBlockStatementsOptions object
NoEmptyCharacterClassInRegexConfiguration RulePlainConfiguration | RuleWithNoEmptyCharacterClassInRegexOptions
NoEmptyCharacterClassInRegexOptions object
NoEmptyInterfaceConfiguration RulePlainConfiguration | RuleWithNoEmptyInterfaceOptions
NoEmptyInterfaceOptions object
NoEmptyPatternConfiguration RulePlainConfiguration | RuleWithNoEmptyPatternOptions
NoEmptyPatternOptions object
NoEmptyTypeParametersConfiguration RulePlainConfiguration | RuleWithNoEmptyTypeParametersOptions
NoEmptyTypeParametersOptions object
NoEnumConfiguration RulePlainConfiguration | RuleWithNoEnumOptions
NoEnumOptions object
NoEvolvingTypesConfiguration RulePlainConfiguration | RuleWithNoEvolvingTypesOptions
NoEvolvingTypesOptions object
NoExcessiveCognitiveComplexityConfiguration RulePlainConfiguration | RuleWithNoExcessiveCognitiveComplexityOptions
NoExcessiveCognitiveComplexityOptions object
maxAllowedComplexity integer

The maximum complexity score that we allow. Anything higher is considered excessive.

Default: 15
format=uint8min=1
NoExcessiveLinesPerFunctionConfiguration RulePlainConfiguration | RuleWithNoExcessiveLinesPerFunctionOptions
NoExcessiveLinesPerFunctionOptions object
maxLines integer

The maximum number of lines allowed in a function body.

Default: 50
format=uint8min=1
skipBlankLines boolean

When this options is set to true, blank lines in the function body are not counted towards the maximum line limit.

Default: false
skipIifes boolean

When this option is set to true, Immediately Invoked Function Expressions (IIFEs) are not checked for the maximum line limit.

Default: false
NoExcessiveNestedTestSuitesConfiguration RulePlainConfiguration | RuleWithNoExcessiveNestedTestSuitesOptions
NoExcessiveNestedTestSuitesOptions object
NoExplicitAnyConfiguration RulePlainConfiguration | RuleWithNoExplicitAnyOptions
NoExplicitAnyOptions object
NoExportedImportsConfiguration RulePlainConfiguration | RuleWithNoExportedImportsOptions
NoExportedImportsOptions object
NoExportsInTestConfiguration RulePlainConfiguration | RuleWithNoExportsInTestOptions
NoExportsInTestOptions object
NoExtraBooleanCastConfiguration RulePlainConfiguration | RuleWithNoExtraBooleanCastOptions
NoExtraBooleanCastOptions object
NoExtraNonNullAssertionConfiguration RulePlainConfiguration | RuleWithNoExtraNonNullAssertionOptions
NoExtraNonNullAssertionOptions object
NoFallthroughSwitchClauseConfiguration RulePlainConfiguration | RuleWithNoFallthroughSwitchClauseOptions
NoFallthroughSwitchClauseOptions object
NoFlatMapIdentityConfiguration RulePlainConfiguration | RuleWithNoFlatMapIdentityOptions
NoFlatMapIdentityOptions object
NoFloatingPromisesConfiguration RulePlainConfiguration | RuleWithNoFloatingPromisesOptions
NoFloatingPromisesOptions object
NoFocusedTestsConfiguration RulePlainConfiguration | RuleWithNoFocusedTestsOptions
NoFocusedTestsOptions object
NoForEachConfiguration RulePlainConfiguration | RuleWithNoForEachOptions
NoForEachOptions object
allowedIdentifiers string[]

A list of variable names allowed for forEach calls.

Default:
[]
NoFunctionAssignConfiguration RulePlainConfiguration | RuleWithNoFunctionAssignOptions
NoFunctionAssignOptions object
NoGlobalAssignConfiguration RulePlainConfiguration | RuleWithNoGlobalAssignOptions
NoGlobalAssignOptions object
NoGlobalDirnameFilenameConfiguration RulePlainConfiguration | RuleWithNoGlobalDirnameFilenameOptions
NoGlobalDirnameFilenameOptions object
NoGlobalEvalConfiguration RulePlainConfiguration | RuleWithNoGlobalEvalOptions
NoGlobalEvalOptions object
NoGlobalIsFiniteConfiguration RulePlainConfiguration | RuleWithNoGlobalIsFiniteOptions
NoGlobalIsFiniteOptions object
NoGlobalIsNanConfiguration RulePlainConfiguration | RuleWithNoGlobalIsNanOptions
NoGlobalIsNanOptions object
NoGlobalObjectCallsConfiguration RulePlainConfiguration | RuleWithNoGlobalObjectCallsOptions
NoGlobalObjectCallsOptions object
NoHeadElementConfiguration RulePlainConfiguration | RuleWithNoHeadElementOptions
NoHeadElementOptions object
NoHeadImportInDocumentConfiguration RulePlainConfiguration | RuleWithNoHeadImportInDocumentOptions
NoHeadImportInDocumentOptions object
NoHeaderScopeConfiguration RulePlainConfiguration | RuleWithNoHeaderScopeOptions
NoHeaderScopeOptions object
NoImgElementConfiguration RulePlainConfiguration | RuleWithNoImgElementOptions
NoImgElementOptions object
NoImplicitAnyLetConfiguration RulePlainConfiguration | RuleWithNoImplicitAnyLetOptions
NoImplicitAnyLetOptions object
NoImplicitBooleanConfiguration RulePlainConfiguration | RuleWithNoImplicitBooleanOptions
NoImplicitBooleanOptions object
NoImplicitCoercionsConfiguration RulePlainConfiguration | RuleWithNoImplicitCoercionsOptions
NoImplicitCoercionsOptions object
NoImportAssignConfiguration RulePlainConfiguration | RuleWithNoImportAssignOptions
NoImportAssignOptions object
NoImportCyclesConfiguration RulePlainConfiguration | RuleWithNoImportCyclesOptions
NoImportCyclesOptions object
ignoreTypes boolean

Ignores type-only imports when finding an import cycle. A type-only import (import type) will be removed by the compiler, so it cuts an import cycle at runtime. Note that named type imports (import { type Foo }) aren't considered as type-only because it's not removed by the compiler if the verbatimModuleSyntax option is enabled. Enabled by default.

Default: true
NoImportantInKeyframeConfiguration RulePlainConfiguration | RuleWithNoImportantInKeyframeOptions
NoImportantInKeyframeOptions object
NoImportantStylesConfiguration RulePlainConfiguration | RuleWithNoImportantStylesOptions
NoImportantStylesOptions object
NoInferrableTypesConfiguration RulePlainConfiguration | RuleWithNoInferrableTypesOptions
NoInferrableTypesOptions object
NoInnerDeclarationsConfiguration RulePlainConfiguration | RuleWithNoInnerDeclarationsOptions
NoInnerDeclarationsOptions object
NoInteractiveElementToNoninteractiveRoleConfiguration RulePlainConfiguration | RuleWithNoInteractiveElementToNoninteractiveRoleOptions
NoInteractiveElementToNoninteractiveRoleOptions object
NoInvalidBuiltinInstantiationConfiguration RulePlainConfiguration | RuleWithNoInvalidBuiltinInstantiationOptions
NoInvalidBuiltinInstantiationOptions object
NoInvalidConstructorSuperConfiguration RulePlainConfiguration | RuleWithNoInvalidConstructorSuperOptions
NoInvalidConstructorSuperOptions object
NoInvalidDirectionInLinearGradientConfiguration RulePlainConfiguration | RuleWithNoInvalidDirectionInLinearGradientOptions
NoInvalidDirectionInLinearGradientOptions object
NoInvalidGridAreasConfiguration RulePlainConfiguration | RuleWithNoInvalidGridAreasOptions
NoInvalidGridAreasOptions object
NoInvalidPositionAtImportRuleConfiguration RulePlainConfiguration | RuleWithNoInvalidPositionAtImportRuleOptions
NoInvalidPositionAtImportRuleOptions object
NoInvalidUseBeforeDeclarationConfiguration RulePlainConfiguration | RuleWithNoInvalidUseBeforeDeclarationOptions
NoInvalidUseBeforeDeclarationOptions object
NoIrregularWhitespaceConfiguration RulePlainConfiguration | RuleWithNoIrregularWhitespaceOptions
NoIrregularWhitespaceOptions object
NoJsxLiteralsConfiguration RulePlainConfiguration | RuleWithNoJsxLiteralsOptions
NoJsxLiteralsOptions object
allowedStrings string[]

An array of strings that won't trigger the rule. Whitespaces are taken into consideration

Default:
[]
ignoreProps boolean

When enabled, strings inside props are always ignored

Default: false
noStrings boolean

When enabled, also flag string literals inside JSX expressions and attributes

Default: false
NoLabelVarConfiguration RulePlainConfiguration | RuleWithNoLabelVarOptions
NoLabelVarOptions object
NoLabelWithoutControlConfiguration RulePlainConfiguration | RuleWithNoLabelWithoutControlOptions
NoLabelWithoutControlOptions object
inputComponents string[]

Array of component names that should be considered the same as an input element.

Default:
[]
labelAttributes string[]

Array of attributes that should be treated as the label accessible text content.

Default:
[]
labelComponents string[]

Array of component names that should be considered the same as a label element.

Default:
[]
NoMagicNumbersConfiguration RulePlainConfiguration | RuleWithNoMagicNumbersOptions
NoMagicNumbersOptions object
NoMisleadingCharacterClassConfiguration RulePlainConfiguration | RuleWithNoMisleadingCharacterClassOptions
NoMisleadingCharacterClassOptions object
NoMisleadingInstantiatorConfiguration RulePlainConfiguration | RuleWithNoMisleadingInstantiatorOptions
NoMisleadingInstantiatorOptions object
NoMisplacedAssertionConfiguration RulePlainConfiguration | RuleWithNoMisplacedAssertionOptions
NoMisplacedAssertionOptions object
NoMisrefactoredShorthandAssignConfiguration RulePlainConfiguration | RuleWithNoMisrefactoredShorthandAssignOptions
NoMisrefactoredShorthandAssignOptions object
NoMissingVarFunctionConfiguration RulePlainConfiguration | RuleWithNoMissingVarFunctionOptions
NoMissingVarFunctionOptions object
NoMisusedPromisesConfiguration RulePlainConfiguration | RuleWithNoMisusedPromisesOptions
NoMisusedPromisesOptions object
NoNamespaceConfiguration RulePlainConfiguration | RuleWithNoNamespaceOptions
NoNamespaceImportConfiguration RulePlainConfiguration | RuleWithNoNamespaceImportOptions
NoNamespaceImportOptions object
NoNamespaceOptions object
NoNegationElseConfiguration RulePlainConfiguration | RuleWithNoNegationElseOptions
NoNegationElseOptions object
NoNestedComponentDefinitionsConfiguration RulePlainConfiguration | RuleWithNoNestedComponentDefinitionsOptions
NoNestedComponentDefinitionsOptions object
NoNestedTernaryConfiguration RulePlainConfiguration | RuleWithNoNestedTernaryOptions
NoNestedTernaryOptions object
NoNextAsyncClientComponentConfiguration RulePlainConfiguration | RuleWithNoNextAsyncClientComponentOptions
NoNextAsyncClientComponentOptions object
NoNodejsModulesConfiguration RulePlainConfiguration | RuleWithNoNodejsModulesOptions
NoNodejsModulesOptions object
NoNonNullAssertedOptionalChainConfiguration RulePlainConfiguration | RuleWithNoNonNullAssertedOptionalChainOptions
NoNonNullAssertedOptionalChainOptions object
NoNonNullAssertionConfiguration RulePlainConfiguration | RuleWithNoNonNullAssertionOptions
NoNonNullAssertionOptions object
NoNoninteractiveElementInteractionsConfiguration RulePlainConfiguration | RuleWithNoNoninteractiveElementInteractionsOptions
NoNoninteractiveElementInteractionsOptions object
NoNoninteractiveElementToInteractiveRoleConfiguration RulePlainConfiguration | RuleWithNoNoninteractiveElementToInteractiveRoleOptions
NoNoninteractiveElementToInteractiveRoleOptions object
NoNoninteractiveTabindexConfiguration RulePlainConfiguration | RuleWithNoNoninteractiveTabindexOptions
NoNoninteractiveTabindexOptions object
NoNonoctalDecimalEscapeConfiguration RulePlainConfiguration | RuleWithNoNonoctalDecimalEscapeOptions
NoNonoctalDecimalEscapeOptions object
NoOctalEscapeConfiguration RulePlainConfiguration | RuleWithNoOctalEscapeOptions
NoOctalEscapeOptions object
NoParameterAssignConfiguration RulePlainConfiguration | RuleWithNoParameterAssignOptions
NoParameterAssignOptions object
propertyAssignment

Whether to report an error when a dependency is listed in the dependencies array but isn't used. Defaults to allow.

Default: "allow"
All of: PropertyAssignmentMode string | string
NoParameterPropertiesConfiguration RulePlainConfiguration | RuleWithNoParameterPropertiesOptions
NoParameterPropertiesOptions object
NoPositiveTabindexConfiguration RulePlainConfiguration | RuleWithNoPositiveTabindexOptions
NoPositiveTabindexOptions object
NoPrecisionLossConfiguration RulePlainConfiguration | RuleWithNoPrecisionLossOptions
NoPrecisionLossOptions object
NoPrivateImportsConfiguration RulePlainConfiguration | RuleWithNoPrivateImportsOptions
NoPrivateImportsOptions object
defaultVisibility

The default visibility to assume for symbols without visibility tag.

Default: public.

Default: "public"
All of: Visibility string
NoProcessEnvConfiguration RulePlainConfiguration | RuleWithNoProcessEnvOptions
NoProcessEnvOptions object
NoProcessGlobalConfiguration RulePlainConfiguration | RuleWithNoProcessGlobalOptions
NoProcessGlobalOptions object
NoPrototypeBuiltinsConfiguration RulePlainConfiguration | RuleWithNoPrototypeBuiltinsOptions
NoPrototypeBuiltinsOptions object
NoQuickfixBiomeConfiguration RulePlainConfiguration | RuleWithNoQuickfixBiomeOptions
NoQuickfixBiomeOptions object
additionalPaths string[]

A list of additional JSON files that should be checked.

Default:
[]
NoQwikUseVisibleTaskConfiguration RulePlainConfiguration | RuleWithNoQwikUseVisibleTaskOptions
NoQwikUseVisibleTaskOptions object
NoReExportAllConfiguration RulePlainConfiguration | RuleWithNoReExportAllOptions
NoReExportAllOptions object
NoReactForwardRefConfiguration RulePlainConfiguration | RuleWithNoReactForwardRefOptions
NoReactForwardRefOptions object
NoReactPropAssignmentsConfiguration RulePlainConfiguration | RuleWithNoReactPropAssignmentsOptions
NoReactPropAssignmentsOptions object
NoReactSpecificPropsConfiguration RulePlainConfiguration | RuleWithNoReactSpecificPropsOptions
NoReactSpecificPropsOptions object
NoRedeclareConfiguration RulePlainConfiguration | RuleWithNoRedeclareOptions
NoRedeclareOptions object
NoRedundantAltConfiguration RulePlainConfiguration | RuleWithNoRedundantAltOptions
NoRedundantAltOptions object
NoRedundantRolesConfiguration RulePlainConfiguration | RuleWithNoRedundantRolesOptions
NoRedundantRolesOptions object
NoRedundantUseStrictConfiguration RulePlainConfiguration | RuleWithNoRedundantUseStrictOptions
NoRedundantUseStrictOptions object
NoRenderReturnValueConfiguration RulePlainConfiguration | RuleWithNoRenderReturnValueOptions
NoRenderReturnValueOptions object
NoRestrictedElementsConfiguration RulePlainConfiguration | RuleWithNoRestrictedElementsOptions
NoRestrictedElementsOptions object
elements

Elements to restrict. Each key is the element name, and the value is the message to show when the element is used.

All of: CustomRestrictedElements object
NoRestrictedGlobalsConfiguration RulePlainConfiguration | RuleWithNoRestrictedGlobalsOptions
NoRestrictedGlobalsOptions object
deniedGlobals Record<string, string>

A list of names that should trigger the rule

NoRestrictedImportsConfiguration RulePlainConfiguration | RuleWithNoRestrictedImportsOptions
NoRestrictedImportsOptions object
paths Record<string, string>

A list of import paths that should trigger the rule.

patterns array | null

gitignore-style patterns that should trigger the rule.

NoRestrictedTypesConfiguration RulePlainConfiguration | RuleWithNoRestrictedTypesOptions
NoRestrictedTypesOptions object
types Record<string, string | CustomRestrictedTypeOptions>
Default:
{}
NoSecretsConfiguration RulePlainConfiguration | RuleWithNoSecretsOptions
NoSecretsOptions object
entropyThreshold integer | null

Set entropy threshold (default is 41).

Default: null
format=uint16min=0
NoSelfAssignConfiguration RulePlainConfiguration | RuleWithNoSelfAssignOptions
NoSelfAssignOptions object
NoSelfCompareConfiguration RulePlainConfiguration | RuleWithNoSelfCompareOptions
NoSelfCompareOptions object
NoSetterReturnConfiguration RulePlainConfiguration | RuleWithNoSetterReturnOptions
NoSetterReturnOptions object
NoShadowConfiguration RulePlainConfiguration | RuleWithNoShadowOptions
NoShadowOptions object
NoShadowRestrictedNamesConfiguration RulePlainConfiguration | RuleWithNoShadowRestrictedNamesOptions
NoShadowRestrictedNamesOptions object
NoShorthandPropertyOverridesConfiguration RulePlainConfiguration | RuleWithNoShorthandPropertyOverridesOptions
NoShorthandPropertyOverridesOptions object
NoShoutyConstantsConfiguration RulePlainConfiguration | RuleWithNoShoutyConstantsOptions
NoShoutyConstantsOptions object
NoSkippedTestsConfiguration RulePlainConfiguration | RuleWithNoSkippedTestsOptions
NoSkippedTestsOptions object
NoSolidDestructuredPropsConfiguration RulePlainConfiguration | RuleWithNoSolidDestructuredPropsOptions
NoSolidDestructuredPropsOptions object
NoSparseArrayConfiguration RulePlainConfiguration | RuleWithNoSparseArrayOptions
NoSparseArrayOptions object
NoStaticElementInteractionsConfiguration RulePlainConfiguration | RuleWithNoStaticElementInteractionsOptions
NoStaticElementInteractionsOptions object
NoStaticOnlyClassConfiguration RulePlainConfiguration | RuleWithNoStaticOnlyClassOptions
NoStaticOnlyClassOptions object
NoStringCaseMismatchConfiguration RulePlainConfiguration | RuleWithNoStringCaseMismatchOptions
NoStringCaseMismatchOptions object
NoSubstrConfiguration RulePlainConfiguration | RuleWithNoSubstrOptions
NoSubstrOptions object
NoSuspiciousSemicolonInJsxConfiguration RulePlainConfiguration | RuleWithNoSuspiciousSemicolonInJsxOptions
NoSuspiciousSemicolonInJsxOptions object
NoSvgWithoutTitleConfiguration RulePlainConfiguration | RuleWithNoSvgWithoutTitleOptions
NoSvgWithoutTitleOptions object
NoSwitchDeclarationsConfiguration RulePlainConfiguration | RuleWithNoSwitchDeclarationsOptions
NoSwitchDeclarationsOptions object
NoTemplateCurlyInStringConfiguration RulePlainConfiguration | RuleWithNoTemplateCurlyInStringOptions
NoTemplateCurlyInStringOptions object
NoThenPropertyConfiguration RulePlainConfiguration | RuleWithNoThenPropertyOptions
NoThenPropertyOptions object
NoThisInStaticConfiguration RulePlainConfiguration | RuleWithNoThisInStaticOptions
NoThisInStaticOptions object
NoTsIgnoreConfiguration RulePlainConfiguration | RuleWithNoTsIgnoreOptions
NoTsIgnoreOptions object
NoUnassignedVariablesConfiguration RulePlainConfiguration | RuleWithNoUnassignedVariablesOptions
NoUnassignedVariablesOptions object
NoUndeclaredDependenciesConfiguration RulePlainConfiguration | RuleWithNoUndeclaredDependenciesOptions
NoUndeclaredDependenciesOptions object
devDependencies

If set to false, then the rule will show an error when devDependencies are imported. Defaults to true.

Default: true
All of: DependencyAvailability boolean | string[]
optionalDependencies

If set to false, then the rule will show an error when optionalDependencies are imported. Defaults to true.

Default: true
All of: DependencyAvailability boolean | string[]
peerDependencies

If set to false, then the rule will show an error when peerDependencies are imported. Defaults to true.

Default: true
All of: DependencyAvailability boolean | string[]
NoUndeclaredVariablesConfiguration RulePlainConfiguration | RuleWithNoUndeclaredVariablesOptions
NoUndeclaredVariablesOptions object
checkTypes boolean

Check undeclared types.

Default: false
NoUnknownAtRulesConfiguration RulePlainConfiguration | RuleWithNoUnknownAtRulesOptions
NoUnknownAtRulesOptions object
NoUnknownFunctionConfiguration RulePlainConfiguration | RuleWithNoUnknownFunctionOptions
NoUnknownFunctionOptions object
NoUnknownMediaFeatureNameConfiguration RulePlainConfiguration | RuleWithNoUnknownMediaFeatureNameOptions
NoUnknownMediaFeatureNameOptions object
NoUnknownPropertyConfiguration RulePlainConfiguration | RuleWithNoUnknownPropertyOptions
NoUnknownPropertyOptions object
NoUnknownPseudoClassConfiguration RulePlainConfiguration | RuleWithNoUnknownPseudoClassOptions
NoUnknownPseudoClassOptions object
NoUnknownPseudoElementConfiguration RulePlainConfiguration | RuleWithNoUnknownPseudoElementOptions
NoUnknownPseudoElementOptions object
NoUnknownTypeSelectorConfiguration RulePlainConfiguration | RuleWithNoUnknownTypeSelectorOptions
NoUnknownTypeSelectorOptions object
NoUnknownUnitConfiguration RulePlainConfiguration | RuleWithNoUnknownUnitOptions
NoUnknownUnitOptions object
NoUnmatchableAnbSelectorConfiguration RulePlainConfiguration | RuleWithNoUnmatchableAnbSelectorOptions
NoUnmatchableAnbSelectorOptions object
NoUnnecessaryConditionsConfiguration RulePlainConfiguration | RuleWithNoUnnecessaryConditionsOptions
NoUnnecessaryConditionsOptions object
NoUnreachableConfiguration RulePlainConfiguration | RuleWithNoUnreachableOptions
NoUnreachableOptions object
NoUnreachableSuperConfiguration RulePlainConfiguration | RuleWithNoUnreachableSuperOptions
NoUnreachableSuperOptions object
NoUnresolvedImportsConfiguration RulePlainConfiguration | RuleWithNoUnresolvedImportsOptions
NoUnresolvedImportsOptions object
NoUnsafeDeclarationMergingConfiguration RulePlainConfiguration | RuleWithNoUnsafeDeclarationMergingOptions
NoUnsafeDeclarationMergingOptions object
NoUnsafeFinallyConfiguration RulePlainConfiguration | RuleWithNoUnsafeFinallyOptions
NoUnsafeFinallyOptions object
NoUnsafeNegationConfiguration RulePlainConfiguration | RuleWithNoUnsafeNegationOptions
NoUnsafeNegationOptions object
NoUnsafeOptionalChainingConfiguration RulePlainConfiguration | RuleWithNoUnsafeOptionalChainingOptions
NoUnsafeOptionalChainingOptions object
NoUnusedExpressionsConfiguration RulePlainConfiguration | RuleWithNoUnusedExpressionsOptions
NoUnusedExpressionsOptions object
NoUnusedFunctionParametersConfiguration RulePlainConfiguration | RuleWithNoUnusedFunctionParametersOptions
NoUnusedFunctionParametersOptions object
ignoreRestSiblings boolean

Whether to ignore unused variables from an object destructuring with a spread.

Default: false
NoUnusedImportsConfiguration RulePlainConfiguration | RuleWithNoUnusedImportsOptions
NoUnusedImportsOptions object
NoUnusedLabelsConfiguration RulePlainConfiguration | RuleWithNoUnusedLabelsOptions
NoUnusedLabelsOptions object
NoUnusedPrivateClassMembersConfiguration RulePlainConfiguration | RuleWithNoUnusedPrivateClassMembersOptions
NoUnusedPrivateClassMembersOptions object
NoUnusedTemplateLiteralConfiguration RulePlainConfiguration | RuleWithNoUnusedTemplateLiteralOptions
NoUnusedTemplateLiteralOptions object
NoUnusedVariablesConfiguration RulePlainConfiguration | RuleWithNoUnusedVariablesOptions
NoUnusedVariablesOptions object
ignoreRestSiblings boolean

Whether to ignore unused variables from an object destructuring with a spread.

Default: true
NoUnwantedPolyfillioConfiguration RulePlainConfiguration | RuleWithNoUnwantedPolyfillioOptions
NoUnwantedPolyfillioOptions object
NoUselessCatchBindingConfiguration RulePlainConfiguration | RuleWithNoUselessCatchBindingOptions
NoUselessCatchBindingOptions object

Options for the noUselessCatchBinding rule. Currently empty; reserved for future extensions (e.g. allowlist of names).

NoUselessCatchConfiguration RulePlainConfiguration | RuleWithNoUselessCatchOptions
NoUselessCatchOptions object
NoUselessConstructorConfiguration RulePlainConfiguration | RuleWithNoUselessConstructorOptions
NoUselessConstructorOptions object
NoUselessContinueConfiguration RulePlainConfiguration | RuleWithNoUselessContinueOptions
NoUselessContinueOptions object
NoUselessElseConfiguration RulePlainConfiguration | RuleWithNoUselessElseOptions
NoUselessElseOptions object
NoUselessEmptyExportConfiguration RulePlainConfiguration | RuleWithNoUselessEmptyExportOptions
NoUselessEmptyExportOptions object
NoUselessEscapeInRegexConfiguration RulePlainConfiguration | RuleWithNoUselessEscapeInRegexOptions
NoUselessEscapeInRegexOptions object
NoUselessEscapeInStringConfiguration RulePlainConfiguration | RuleWithNoUselessEscapeInStringOptions
NoUselessEscapeInStringOptions object
NoUselessFragmentsConfiguration RulePlainConfiguration | RuleWithNoUselessFragmentsOptions
NoUselessFragmentsOptions object
NoUselessLabelConfiguration RulePlainConfiguration | RuleWithNoUselessLabelOptions
NoUselessLabelOptions object
NoUselessLoneBlockStatementsConfiguration RulePlainConfiguration | RuleWithNoUselessLoneBlockStatementsOptions
NoUselessLoneBlockStatementsOptions object
NoUselessRegexBackrefsConfiguration RulePlainConfiguration | RuleWithNoUselessRegexBackrefsOptions
NoUselessRegexBackrefsOptions object
NoUselessRenameConfiguration RulePlainConfiguration | RuleWithNoUselessRenameOptions
NoUselessRenameOptions object
NoUselessStringConcatConfiguration RulePlainConfiguration | RuleWithNoUselessStringConcatOptions
NoUselessStringConcatOptions object
NoUselessStringRawConfiguration RulePlainConfiguration | RuleWithNoUselessStringRawOptions
NoUselessStringRawOptions object
NoUselessSwitchCaseConfiguration RulePlainConfiguration | RuleWithNoUselessSwitchCaseOptions
NoUselessSwitchCaseOptions object
NoUselessTernaryConfiguration RulePlainConfiguration | RuleWithNoUselessTernaryOptions
NoUselessTernaryOptions object
NoUselessThisAliasConfiguration RulePlainConfiguration | RuleWithNoUselessThisAliasOptions
NoUselessThisAliasOptions object
NoUselessTypeConstraintConfiguration RulePlainConfiguration | RuleWithNoUselessTypeConstraintOptions
NoUselessTypeConstraintOptions object
NoUselessUndefinedConfiguration RulePlainConfiguration | RuleWithNoUselessUndefinedOptions
NoUselessUndefinedInitializationConfiguration RulePlainConfiguration | RuleWithNoUselessUndefinedInitializationOptions
NoUselessUndefinedInitializationOptions object
NoUselessUndefinedOptions object
NoValueAtRuleConfiguration RulePlainConfiguration | RuleWithNoValueAtRuleOptions
NoValueAtRuleOptions object
NoVarConfiguration RulePlainConfiguration | RuleWithNoVarOptions
NoVarOptions object
NoVoidConfiguration RulePlainConfiguration | RuleWithNoVoidOptions
NoVoidElementsWithChildrenConfiguration RulePlainConfiguration | RuleWithNoVoidElementsWithChildrenOptions
NoVoidElementsWithChildrenOptions object
NoVoidOptions object
NoVoidTypeReturnConfiguration RulePlainConfiguration | RuleWithNoVoidTypeReturnOptions
NoVoidTypeReturnOptions object
NoVueDataObjectDeclarationConfiguration RulePlainConfiguration | RuleWithNoVueDataObjectDeclarationOptions
NoVueDataObjectDeclarationOptions object
NoVueDuplicateKeysConfiguration RulePlainConfiguration | RuleWithNoVueDuplicateKeysOptions
NoVueDuplicateKeysOptions object
NoVueReservedKeysConfiguration RulePlainConfiguration | RuleWithNoVueReservedKeysOptions
NoVueReservedKeysOptions object
NoVueReservedPropsConfiguration RulePlainConfiguration | RuleWithNoVueReservedPropsOptions
NoVueReservedPropsOptions object
NoWithConfiguration RulePlainConfiguration | RuleWithNoWithOptions
NoWithOptions object
NoYodaExpressionConfiguration RulePlainConfiguration | RuleWithNoYodaExpressionOptions
NoYodaExpressionOptions object
NormalizedGlob

Normalized Biome glob pattern that strips ./ from the pattern.

Nursery object

A list of rules that belong to this group

noDeprecatedImports NoDeprecatedImportsConfiguration | null

Restrict imports of deprecated exports.

noDuplicateDependencies NoDuplicateDependenciesConfiguration | null

Prevent the listing of duplicate dependencies. The rule supports the following dependency groups: "bundledDependencies", "bundleDependencies", "dependencies", "devDependencies", "overrides", "optionalDependencies", and "peerDependencies".

noFloatingPromises NoFloatingPromisesConfiguration | null

Require Promise-like statements to be handled appropriately.

noImportCycles NoImportCyclesConfiguration | null

Prevent import cycles.

noJsxLiterals NoJsxLiteralsConfiguration | null

Disallow string literals inside JSX elements.

noMisusedPromises NoMisusedPromisesConfiguration | null

Disallow Promises to be used in places where they are almost certainly a mistake.

noNextAsyncClientComponent NoNextAsyncClientComponentConfiguration | null

Prevent client components from being async functions.

noNonNullAssertedOptionalChain NoNonNullAssertedOptionalChainConfiguration | null

Disallow non-null assertions after optional chaining expressions.

noQwikUseVisibleTask NoQwikUseVisibleTaskConfiguration | null

Disallow useVisibleTask$() functions in Qwik components.

noReactForwardRef NoReactForwardRefConfiguration | null

Replaces usages of forwardRef with passing ref as a prop.

noSecrets NoSecretsConfiguration | null

Disallow usage of sensitive data such as API keys and tokens.

noShadow NoShadowConfiguration | null

Disallow variable declarations from shadowing variables declared in the outer scope.

noUnnecessaryConditions NoUnnecessaryConditionsConfiguration | null

Disallow unnecessary type-based conditions that can be statically determined as redundant.

noUnresolvedImports NoUnresolvedImportsConfiguration | null

Warn when importing non-existing exports.

noUnusedExpressions NoUnusedExpressionsConfiguration | null

Disallow expression statements that are neither a function call nor an assignment.

noUselessCatchBinding NoUselessCatchBindingConfiguration | null

Disallow unused catch bindings.

noUselessUndefined NoUselessUndefinedConfiguration | null

Disallow the use of useless undefined.

noVueDataObjectDeclaration NoVueDataObjectDeclarationConfiguration | null

Enforce that Vue component data options are declared as functions.

noVueDuplicateKeys NoVueDuplicateKeysConfiguration | null

Disallow duplicate keys in Vue component data, methods, computed properties, and other options.

noVueReservedKeys NoVueReservedKeysConfiguration | null

Disallow reserved keys in Vue component data and computed properties.

noVueReservedProps NoVueReservedPropsConfiguration | null

Disallow reserved names to be used as props.

recommended boolean | null

Enables the recommended rules for this group

useAnchorHref UseAnchorHrefConfiguration | null

Enforces href attribute for <a> elements.

useConsistentArrowReturn UseConsistentArrowReturnConfiguration | null

Enforce consistent arrow function bodies.

useConsistentTypeDefinitions UseConsistentTypeDefinitionsConfiguration | null

Enforce type definitions to consistently use either interface or type.

useDeprecatedDate UseDeprecatedDateConfiguration | null

Require the @deprecated directive to specify a deletion date.

useExhaustiveSwitchCases UseExhaustiveSwitchCasesConfiguration | null

Require switch-case statements to be exhaustive.

useExplicitType UseExplicitTypeConfiguration | null

Enforce types in functions, methods, variables, and parameters.

useImageSize UseImageSizeConfiguration | null

Enforces that <img> elements have both width and height attributes.

useMaxParams UseMaxParamsConfiguration | null

Enforce a maximum number of parameters in function definitions.

useQwikClasslist UseQwikClasslistConfiguration | null

Prefer using the class prop as a classlist over the classnames helper.

useQwikMethodUsage UseQwikMethodUsageConfiguration | null

Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.

useQwikValidLexicalScope UseQwikValidLexicalScopeConfiguration | null

Disallow unserializable expressions in Qwik dollar ($) scopes.

useReactFunctionComponents UseReactFunctionComponentsConfiguration | null

Enforce that components are defined as functions and never as classes.

useSortedClasses UseSortedClassesConfiguration | null

Enforce the sorting of CSS utility classes.

useVueMultiWordComponentNames UseVueMultiWordComponentNamesConfiguration | null

Enforce multi-word component names in Vue components.

ObjectPropertySyntax string | string
OperatorLinebreak string | string
OrganizeImportsOptions object
groups
Default:
[]
All of: ImportGroups ImportGroup[]
identifierOrder
Default: "natural"
All of: SortOrder string
OverrideAssistConfiguration object
actions Actions | null

List of actions

enabled Bool | null

if false, it disables the feature and the assist won't be executed. true by default

OverrideFilesConfiguration object
maxSize MaxSize | null

File size limit in bytes

OverrideFormatterConfiguration object
attributePosition AttributePosition | null

The attribute position style.

bracketSameLine BracketSameLine | null

Put the > of a multi-line HTML or JSX element at the end of the last line instead of being alone on the next line (does not apply to self closing elements).

bracketSpacing BracketSpacing | null

Whether to insert spaces around brackets in object literals. Defaults to true.

enabled Bool | null
expand Expand | null

Whether to expand arrays and objects on multiple lines. When set to auto, object literals are formatted on multiple lines if the first property has a newline, and array literals are formatted on a single line if it fits in the line. When set to always, these literals are formatted on multiple lines, regardless of length of the list. When set to never, these literals are formatted on a single line if it fits in the line. When formatting package.json, Biome will use always unless configured otherwise. Defaults to "auto".

formatWithErrors Bool | null

Stores whether formatting should be allowed to proceed if a given file has syntax errors

indentSize IndentWidth | null

The size of the indentation, 2 by default (deprecated, use indent-width)

indentStyle IndentStyle | null

The indent style.

indentWidth IndentWidth | null

The size of the indentation, 2 by default

lineEnding LineEnding | null

The type of line ending.

lineWidth LineWidth | null

What's the max width of a line. Defaults to 80.

OverrideGlobs Glob[]
OverrideLinterConfiguration object
domains RuleDomains | null

List of rules

enabled Bool | null

if false, it disables the feature and the linter won't be executed. true by default

rules Rules | null

List of rules

OverridePattern object

Specific configuration for the Json language

css CssConfiguration | null

Specific configuration for the CSS language

Specific configuration for the filesystem

Specific configuration for the Json language

graphql GraphqlConfiguration | null

Specific configuration for the Graphql language

grit GritConfiguration | null

Specific configuration for the GritQL language

html HtmlConfiguration | null

Specific configuration for the GritQL language

includes OverrideGlobs | null

A list of glob patterns. Biome will include files/folders that will match these patterns.

javascript JsConfiguration | null

Specific configuration for the JavaScript language

json JsonConfiguration | null

Specific configuration for the Json language

Specific configuration for the Json language

plugins Plugins | null

Specific configuration for additional plugins

Overrides OverridePattern[]
PathOptions object
allowImportNames string[]

Names of the exported members that allowed to be not be used.

importNames string[]

Names of the exported members that should not be used.

message string

The message to display when this module is imported.

Paths string
PatternOptions object
group SourcesMatcher | null

An array of gitignore-style patterns.

importNamePattern Regex | null

A regex pattern for import names to forbid within the matched modules.

invertImportNamePattern boolean

If true, the matched patterns in the importNamePattern will be allowed. Defaults to false.

Default: false
message string | null

A custom message for diagnostics related to this pattern.

Patterns PatternOptions
Performance object

A list of rules that belong to this group

noAccumulatingSpread NoAccumulatingSpreadConfiguration | null

Disallow the use of spread (...) syntax on accumulators.

noAwaitInLoops NoAwaitInLoopsConfiguration | null

Disallow await inside loops.

noBarrelFile NoBarrelFileConfiguration | null

Disallow the use of barrel file.

noDelete NoDeleteConfiguration | null

Disallow the use of the delete operator.

noDynamicNamespaceImportAccess NoDynamicNamespaceImportAccessConfiguration | null

Disallow accessing namespace imports dynamically.

noImgElement NoImgElementConfiguration | null

Prevent usage of <img> element in a Next.js project.

noNamespaceImport NoNamespaceImportConfiguration | null

Disallow the use of namespace imports.

noReExportAll NoReExportAllConfiguration | null

Avoid re-export all.

noUnwantedPolyfillio NoUnwantedPolyfillioConfiguration | null

Prevent duplicate polyfills from Polyfill.io.

recommended boolean | null

Enables the recommended rules for this group

useGoogleFontPreconnect UseGoogleFontPreconnectConfiguration | null

Ensure the preconnect attribute is used when using Google Fonts.

useSolidForComponent UseSolidForComponentConfiguration | null

Enforce using Solid's <For /> component for mapping an array to JSX elements.

useTopLevelRegex UseTopLevelRegexConfiguration | null

Require regex literals to be declared at the top level.

PluginConfiguration string
Plugins PluginConfiguration[]
PropertyAssignmentMode string | string

Specifies whether property assignments on function parameters are allowed or denied.

QuoteProperties string
QuoteStyle string
Regex string
RestrictedModifier string
RuleAssistConfiguration_for_OrganizeImportsOptions RuleAssistPlainConfiguration | RuleAssistWithOptions_for_OrganizeImportsOptions
RuleAssistConfiguration_for_UseSortedAttributesOptions RuleAssistPlainConfiguration | RuleAssistWithOptions_for_UseSortedAttributesOptions
RuleAssistConfiguration_for_UseSortedKeysOptions RuleAssistPlainConfiguration | RuleAssistWithOptions_for_UseSortedKeysOptions
RuleAssistConfiguration_for_UseSortedPropertiesOptions RuleAssistPlainConfiguration | RuleAssistWithOptions_for_UseSortedPropertiesOptions
RuleAssistPlainConfiguration string
RuleAssistWithOptions_for_OrganizeImportsOptions object
level required

The severity of the emitted diagnostics by the rule

options

Rule's options

All of: OrganizeImportsOptions object
RuleAssistWithOptions_for_UseSortedAttributesOptions object
level required

The severity of the emitted diagnostics by the rule

options

Rule's options

RuleAssistWithOptions_for_UseSortedKeysOptions object
level required

The severity of the emitted diagnostics by the rule

options

Rule's options

All of: UseSortedKeysOptions object
RuleAssistWithOptions_for_UseSortedPropertiesOptions object
level required

The severity of the emitted diagnostics by the rule

options

Rule's options

RuleDomain string | string | string | string | string | string | string | string

Rule domains

RuleDomainValue string | string | string
RuleDomains Record<string, string | string | string>
RulePlainConfiguration string | string | string | string | string
RuleWithNoAccessKeyOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoAccessKeyOptions object
RuleWithNoAccumulatingSpreadOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoAdjacentSpacesInRegexOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoAlertOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoAlertOptions object
RuleWithNoApproximativeNumericConstantOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoArgumentsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoArgumentsOptions object
RuleWithNoAriaHiddenOnFocusableOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoAriaUnsupportedElementsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoArrayIndexKeyOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoArrayIndexKeyOptions object
RuleWithNoAssignInExpressionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoAsyncPromiseExecutorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoAutofocusOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoAutofocusOptions object
RuleWithNoAwaitInLoopsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoAwaitInLoopsOptions object
RuleWithNoBannedTypesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoBannedTypesOptions object
RuleWithNoBarrelFileOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoBarrelFileOptions object
RuleWithNoBiomeFirstExceptionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoBitwiseOperatorsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoBitwiseOperatorsOptions object
RuleWithNoBlankTargetOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoBlankTargetOptions object
RuleWithNoCatchAssignOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoCatchAssignOptions object
RuleWithNoChildrenPropOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoChildrenPropOptions object
RuleWithNoClassAssignOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoClassAssignOptions object
RuleWithNoCommaOperatorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoCommaOperatorOptions object
RuleWithNoCommentTextOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoCommentTextOptions object
RuleWithNoCommonJsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoCommonJsOptions object
RuleWithNoCompareNegZeroOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoCompareNegZeroOptions object
RuleWithNoConfusingLabelsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoConfusingLabelsOptions object
RuleWithNoConfusingVoidTypeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoConsoleOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoConsoleOptions object
RuleWithNoConstAssignOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoConstAssignOptions object
RuleWithNoConstEnumOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoConstEnumOptions object
RuleWithNoConstantBinaryExpressionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoConstantConditionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoConstantMathMinMaxClampOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoConstructorReturnOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoControlCharactersInRegexOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDangerouslySetInnerHtmlOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDangerouslySetInnerHtmlWithChildrenOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDebuggerOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoDebuggerOptions object
RuleWithNoDefaultExportOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoDefaultExportOptions object
RuleWithNoDeleteOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoDeleteOptions object
RuleWithNoDeprecatedImportsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDescendingSpecificityOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDistractingElementsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoDocumentCookieOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoDocumentCookieOptions object
RuleWithNoDocumentImportInPageOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDoneCallbackOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoDoneCallbackOptions object
RuleWithNoDoubleEqualsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoDoubleEqualsOptions object
RuleWithNoDuplicateAtImportRulesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDuplicateCaseOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoDuplicateCaseOptions object
RuleWithNoDuplicateClassMembersOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDuplicateCustomPropertiesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDuplicateDependenciesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDuplicateElseIfOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoDuplicateElseIfOptions object
RuleWithNoDuplicateFieldsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoDuplicateFieldsOptions object
RuleWithNoDuplicateFontNamesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDuplicateJsxPropsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDuplicateObjectKeysOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDuplicateParametersOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDuplicatePropertiesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDuplicateSelectorsKeyframeBlockOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDuplicateTestHooksOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoDynamicNamespaceImportAccessOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoEmptyBlockOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoEmptyBlockOptions object
RuleWithNoEmptyBlockStatementsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoEmptyCharacterClassInRegexOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoEmptyInterfaceOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoEmptyInterfaceOptions object
RuleWithNoEmptyPatternOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoEmptyPatternOptions object
RuleWithNoEmptyTypeParametersOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoEnumOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoEnumOptions object
RuleWithNoEvolvingTypesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoEvolvingTypesOptions object
RuleWithNoExcessiveCognitiveComplexityOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoExcessiveLinesPerFunctionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoExcessiveNestedTestSuitesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoExplicitAnyOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoExplicitAnyOptions object
RuleWithNoExportedImportsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoExportedImportsOptions object
RuleWithNoExportsInTestOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoExportsInTestOptions object
RuleWithNoExtraBooleanCastOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoExtraBooleanCastOptions object
RuleWithNoExtraNonNullAssertionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoFallthroughSwitchClauseOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoFlatMapIdentityOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoFlatMapIdentityOptions object
RuleWithNoFloatingPromisesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoFloatingPromisesOptions object
RuleWithNoFocusedTestsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoFocusedTestsOptions object
RuleWithNoForEachOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoForEachOptions object
RuleWithNoFunctionAssignOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoFunctionAssignOptions object
RuleWithNoGlobalAssignOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoGlobalAssignOptions object
RuleWithNoGlobalDirnameFilenameOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoGlobalEvalOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoGlobalEvalOptions object
RuleWithNoGlobalIsFiniteOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoGlobalIsFiniteOptions object
RuleWithNoGlobalIsNanOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoGlobalIsNanOptions object
RuleWithNoGlobalObjectCallsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoHeadElementOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoHeadElementOptions object
RuleWithNoHeadImportInDocumentOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoHeaderScopeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoHeaderScopeOptions object
RuleWithNoImgElementOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoImgElementOptions object
RuleWithNoImplicitAnyLetOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoImplicitAnyLetOptions object
RuleWithNoImplicitBooleanOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoImplicitBooleanOptions object
RuleWithNoImplicitCoercionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoImportAssignOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoImportAssignOptions object
RuleWithNoImportCyclesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoImportCyclesOptions object
RuleWithNoImportantInKeyframeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoImportantStylesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoImportantStylesOptions object
RuleWithNoInferrableTypesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoInferrableTypesOptions object
RuleWithNoInnerDeclarationsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoInteractiveElementToNoninteractiveRoleOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoInvalidBuiltinInstantiationOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoInvalidConstructorSuperOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoInvalidDirectionInLinearGradientOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoInvalidGridAreasOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoInvalidGridAreasOptions object
RuleWithNoInvalidPositionAtImportRuleOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoInvalidUseBeforeDeclarationOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoIrregularWhitespaceOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoJsxLiteralsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoJsxLiteralsOptions object
RuleWithNoLabelVarOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoLabelVarOptions object
RuleWithNoLabelWithoutControlOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoMagicNumbersOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoMagicNumbersOptions object
RuleWithNoMisleadingCharacterClassOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoMisleadingInstantiatorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoMisplacedAssertionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoMisrefactoredShorthandAssignOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoMissingVarFunctionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoMisusedPromisesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoMisusedPromisesOptions object
RuleWithNoNamespaceImportOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoNamespaceImportOptions object
RuleWithNoNamespaceOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoNamespaceOptions object
RuleWithNoNegationElseOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoNegationElseOptions object
RuleWithNoNestedComponentDefinitionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoNestedTernaryOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoNestedTernaryOptions object
RuleWithNoNextAsyncClientComponentOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoNodejsModulesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoNodejsModulesOptions object
RuleWithNoNonNullAssertedOptionalChainOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoNonNullAssertionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoNonNullAssertionOptions object
RuleWithNoNoninteractiveElementInteractionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoNoninteractiveElementToInteractiveRoleOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoNoninteractiveTabindexOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoNonoctalDecimalEscapeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoOctalEscapeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoOctalEscapeOptions object
RuleWithNoParameterAssignOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoParameterAssignOptions object
RuleWithNoParameterPropertiesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoPositiveTabindexOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoPositiveTabindexOptions object
RuleWithNoPrecisionLossOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoPrecisionLossOptions object
RuleWithNoPrivateImportsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoPrivateImportsOptions object
RuleWithNoProcessEnvOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoProcessEnvOptions object
RuleWithNoProcessGlobalOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoProcessGlobalOptions object
RuleWithNoPrototypeBuiltinsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoQuickfixBiomeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoQuickfixBiomeOptions object
RuleWithNoQwikUseVisibleTaskOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoReExportAllOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoReExportAllOptions object
RuleWithNoReactForwardRefOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoReactForwardRefOptions object
RuleWithNoReactPropAssignmentsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoReactSpecificPropsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoRedeclareOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoRedeclareOptions object
RuleWithNoRedundantAltOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoRedundantAltOptions object
RuleWithNoRedundantRolesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoRedundantRolesOptions object
RuleWithNoRedundantUseStrictOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoRenderReturnValueOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoRestrictedElementsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoRestrictedGlobalsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoRestrictedImportsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoRestrictedTypesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoRestrictedTypesOptions object
RuleWithNoSecretsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoSecretsOptions object
RuleWithNoSelfAssignOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoSelfAssignOptions object
RuleWithNoSelfCompareOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoSelfCompareOptions object
RuleWithNoSetterReturnOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoSetterReturnOptions object
RuleWithNoShadowOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoShadowOptions object
RuleWithNoShadowRestrictedNamesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoShorthandPropertyOverridesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoShoutyConstantsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoShoutyConstantsOptions object
RuleWithNoSkippedTestsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoSkippedTestsOptions object
RuleWithNoSolidDestructuredPropsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoSparseArrayOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoSparseArrayOptions object
RuleWithNoStaticElementInteractionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoStaticOnlyClassOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoStaticOnlyClassOptions object
RuleWithNoStringCaseMismatchOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoSubstrOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoSubstrOptions object
RuleWithNoSuspiciousSemicolonInJsxOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoSvgWithoutTitleOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoSvgWithoutTitleOptions object
RuleWithNoSwitchDeclarationsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoTemplateCurlyInStringOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoThenPropertyOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoThenPropertyOptions object
RuleWithNoThisInStaticOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoThisInStaticOptions object
RuleWithNoTsIgnoreOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoTsIgnoreOptions object
RuleWithNoUnassignedVariablesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUndeclaredDependenciesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUndeclaredVariablesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnknownAtRulesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoUnknownAtRulesOptions object
RuleWithNoUnknownFunctionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoUnknownFunctionOptions object
RuleWithNoUnknownMediaFeatureNameOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnknownPropertyOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoUnknownPropertyOptions object
RuleWithNoUnknownPseudoClassOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnknownPseudoElementOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnknownTypeSelectorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnknownUnitOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoUnknownUnitOptions object
RuleWithNoUnmatchableAnbSelectorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnnecessaryConditionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnreachableOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoUnreachableOptions object
RuleWithNoUnreachableSuperOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoUnreachableSuperOptions object
RuleWithNoUnresolvedImportsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnsafeDeclarationMergingOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnsafeFinallyOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoUnsafeFinallyOptions object
RuleWithNoUnsafeNegationOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUnsafeNegationOptions object
RuleWithNoUnsafeOptionalChainingOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnusedExpressionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUnusedFunctionParametersOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUnusedImportsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUnusedImportsOptions object
RuleWithNoUnusedLabelsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUnusedLabelsOptions object
RuleWithNoUnusedPrivateClassMembersOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUnusedTemplateLiteralOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUnusedVariablesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUnusedVariablesOptions object
RuleWithNoUnwantedPolyfillioOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUselessCatchBindingOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUselessCatchOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUselessCatchOptions object
RuleWithNoUselessConstructorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUselessContinueOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUselessContinueOptions object
RuleWithNoUselessElseOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUselessElseOptions object
RuleWithNoUselessEmptyExportOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUselessEscapeInRegexOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUselessEscapeInStringOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUselessFragmentsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUselessFragmentsOptions object
RuleWithNoUselessLabelOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUselessLabelOptions object
RuleWithNoUselessLoneBlockStatementsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUselessRegexBackrefsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithNoUselessRenameOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUselessRenameOptions object
RuleWithNoUselessStringConcatOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUselessStringRawOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoUselessStringRawOptions object
RuleWithNoUselessSwitchCaseOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUselessTernaryOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUselessTernaryOptions object
RuleWithNoUselessThisAliasOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUselessThisAliasOptions object
RuleWithNoUselessTypeConstraintOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUselessUndefinedInitializationOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoUselessUndefinedOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoUselessUndefinedOptions object
RuleWithNoValueAtRuleOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoValueAtRuleOptions object
RuleWithNoVarOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoVarOptions object
RuleWithNoVoidElementsWithChildrenOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoVoidOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoVoidOptions object
RuleWithNoVoidTypeReturnOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoVoidTypeReturnOptions object
RuleWithNoVueDataObjectDeclarationOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithNoVueDuplicateKeysOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoVueDuplicateKeysOptions object
RuleWithNoVueReservedKeysOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoVueReservedKeysOptions object
RuleWithNoVueReservedPropsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoVueReservedPropsOptions object
RuleWithNoWithOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: NoWithOptions object
RuleWithNoYodaExpressionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: NoYodaExpressionOptions object
RuleWithUseAdjacentOverloadSignaturesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseAltTextOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseAltTextOptions object
RuleWithUseAnchorContentOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseAnchorContentOptions object
RuleWithUseAnchorHrefOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseAnchorHrefOptions null
RuleWithUseAriaActivedescendantWithTabindexOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseAriaPropsForRoleOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseAriaPropsSupportedByRoleOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseArrayLiteralsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseArrayLiteralsOptions object
RuleWithUseArrowFunctionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseArrowFunctionOptions object
RuleWithUseAsConstAssertionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseAtIndexOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseAtIndexOptions object
RuleWithUseAwaitOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseAwaitOptions object
RuleWithUseBiomeIgnoreFolderOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseBlockStatementsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseBlockStatementsOptions object
RuleWithUseButtonTypeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseButtonTypeOptions object
RuleWithUseCollapsedElseIfOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseCollapsedElseIfOptions object
RuleWithUseCollapsedIfOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseCollapsedIfOptions object
RuleWithUseComponentExportOnlyModulesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseConsistentArrayTypeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseConsistentArrowReturnOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseConsistentBuiltinInstantiationOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseConsistentCurlyBracesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseConsistentMemberAccessibilityOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseConsistentObjectDefinitionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseConsistentTypeDefinitionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseConstOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseConstOptions object
RuleWithUseDateNowOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseDateNowOptions object
RuleWithUseDefaultParameterLastOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseDefaultSwitchClauseLastOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseDefaultSwitchClauseOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseDeprecatedDateOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseDeprecatedDateOptions object
RuleWithUseDeprecatedReasonOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseEnumInitializersOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseErrorMessageOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseErrorMessageOptions object
RuleWithUseExhaustiveDependenciesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseExhaustiveSwitchCasesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseExplicitLengthCheckOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseExplicitTypeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseExplicitTypeOptions object
RuleWithUseExponentiationOperatorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseExportTypeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseExportTypeOptions object
RuleWithUseExportsLastOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseExportsLastOptions object
RuleWithUseFilenamingConventionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseFlatMapOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseFlatMapOptions object
RuleWithUseFocusableInteractiveOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseForOfOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseForOfOptions object
RuleWithUseFragmentSyntaxOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseFragmentSyntaxOptions object
RuleWithUseGenericFontNamesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseGetterReturnOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseGetterReturnOptions object
RuleWithUseGoogleFontDisplayOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseGoogleFontPreconnectOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseGraphqlNamedOperationsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseGraphqlNamingConventionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseGroupedAccessorPairsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseGuardForInOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseGuardForInOptions object
RuleWithUseHeadingContentOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseHeadingContentOptions object
RuleWithUseHookAtTopLevelOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseHookAtTopLevelOptions object
RuleWithUseHtmlLangOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseHtmlLangOptions object
RuleWithUseIframeTitleOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseIframeTitleOptions object
RuleWithUseImageSizeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseImageSizeOptions null
RuleWithUseImportExtensionsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseImportTypeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseImportTypeOptions object
RuleWithUseIndexOfOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseIndexOfOptions object
RuleWithUseIsArrayOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseIsArrayOptions object
RuleWithUseIsNanOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseIsNanOptions object
RuleWithUseIterableCallbackReturnOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseJsonImportAttributesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseJsxKeyInIterableOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseKeyWithClickEventsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseKeyWithMouseEventsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseLiteralEnumMembersOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseLiteralKeysOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseLiteralKeysOptions object
RuleWithUseMaxParamsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseMaxParamsOptions object
RuleWithUseMediaCaptionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseMediaCaptionOptions object
RuleWithUseNamespaceKeywordOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseNamingConventionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseNodeAssertStrictOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseNodejsImportProtocolOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseNumberNamespaceOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseNumberNamespaceOptions object
RuleWithUseNumberToFixedDigitsArgumentOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseNumericLiteralsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseNumericLiteralsOptions object
RuleWithUseNumericSeparatorsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseObjectSpreadOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseObjectSpreadOptions object
RuleWithUseOptionalChainOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseOptionalChainOptions object
RuleWithUseParseIntRadixOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseParseIntRadixOptions object
RuleWithUseQwikClasslistOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseQwikClasslistOptions object
RuleWithUseQwikMethodUsageOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseQwikMethodUsageOptions object
RuleWithUseQwikValidLexicalScopeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseReactFunctionComponentsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseReadonlyClassPropertiesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseRegexLiteralsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseRegexLiteralsOptions object
RuleWithUseSelfClosingElementsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseSemanticElementsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseShorthandAssignOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseShorthandAssignOptions object
RuleWithUseShorthandFunctionTypeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseSimpleNumberKeysOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseSimplifiedLogicExpressionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseSingleJsDocAsteriskOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseSingleVarDeclaratorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseSolidForComponentOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseSortedClassesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseSortedClassesOptions object
RuleWithUseStaticResponseMethodsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseStrictModeOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseStrictModeOptions object
RuleWithUseSymbolDescriptionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseTemplateOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseTemplateOptions object
RuleWithUseThrowNewErrorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseThrowNewErrorOptions object
RuleWithUseThrowOnlyErrorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseThrowOnlyErrorOptions object
RuleWithUseTopLevelRegexOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseTopLevelRegexOptions object
RuleWithUseTrimStartEndOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseTrimStartEndOptions object
RuleWithUseUnifiedTypeSignaturesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

RuleWithUseUniqueElementIdsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseValidAnchorOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseValidAnchorOptions object
RuleWithUseValidAriaPropsOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseValidAriaPropsOptions object
RuleWithUseValidAriaRoleOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseValidAriaRoleOptions object
RuleWithUseValidAriaValuesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseValidAriaValuesOptions object
RuleWithUseValidAutocompleteOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseValidForDirectionOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseValidLangOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseValidLangOptions object
RuleWithUseValidTypeofOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseValidTypeofOptions object
RuleWithUseVueMultiWordComponentNamesOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

RuleWithUseWhileOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
fix FixKind | null

The kind of the code actions emitted by the rule

options

Rule's options

All of: UseWhileOptions object
RuleWithUseYieldOptions object
level required

The severity of the emitted diagnostics by the rule

All of: RulePlainConfiguration string | string | string | string | string
options

Rule's options

All of: UseYieldOptions object
Rules object
complexity SeverityOrGroup_for_Complexity | null
correctness SeverityOrGroup_for_Correctness | null
performance SeverityOrGroup_for_Performance | null
recommended boolean | null

It enables the lint rules recommended by Biome. true by default.

suspicious SeverityOrGroup_for_Suspicious | null
Schema string
Scope string
Security object

A list of rules that belong to this group

noBlankTarget NoBlankTargetConfiguration | null

Disallow target="_blank" attribute without rel="noopener".

noDangerouslySetInnerHtml NoDangerouslySetInnerHtmlConfiguration | null

Prevent the usage of dangerous JSX props

noDangerouslySetInnerHtmlWithChildren NoDangerouslySetInnerHtmlWithChildrenConfiguration | null

Report when a DOM element or a component uses both children and dangerouslySetInnerHTML prop.

noGlobalEval NoGlobalEvalConfiguration | null

Disallow the use of global eval().

recommended boolean | null

Enables the recommended rules for this group

Selector object
kind

Declaration kind

All of: Kind string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string
modifiers

Modifiers used on the declaration

All of: Modifiers RestrictedModifier[]
scope

Scope of the declaration

All of: Scope string
SelfCloseVoidElements string | string

Controls whether void-elements should be self closed

Semicolons string
SeverityOrGroup_for_A11y GroupPlainConfiguration | A11y
SeverityOrGroup_for_Complexity GroupPlainConfiguration | Complexity
SeverityOrGroup_for_Correctness GroupPlainConfiguration | Correctness
SeverityOrGroup_for_Nursery GroupPlainConfiguration | Nursery
SeverityOrGroup_for_Performance GroupPlainConfiguration | Performance
SeverityOrGroup_for_Security GroupPlainConfiguration | Security
SeverityOrGroup_for_Style GroupPlainConfiguration | Style
SeverityOrGroup_for_Suspicious GroupPlainConfiguration | Suspicious
SortOrder string
Source object

A list of rules that belong to this group

Provides a code action to sort the imports and exports in the file using a built-in or custom order.

recommended boolean | null

Enables the recommended rules for this group

Enforce attribute sorting in JSX elements.

Sort the keys of a JSON object in natural order.

Enforce ordering of CSS properties and nested rules.

SourceMatcher NegatablePredefinedSourceMatcher | ImportSourceGlob
SourcesMatcher SourceMatcher | SourceMatcher[]
StableHookResult boolean | integer[] | string[]
Style object

A list of rules that belong to this group

noCommonJs NoCommonJsConfiguration | null

Disallow use of CommonJs module system in favor of ESM style imports.

noDefaultExport NoDefaultExportConfiguration | null

Disallow default exports.

noDescendingSpecificity NoDescendingSpecificityConfiguration | null

Disallow a lower specificity selector from coming after a higher specificity selector.

noDoneCallback NoDoneCallbackConfiguration | null

Disallow using a callback in asynchronous tests and hooks.

noEnum NoEnumConfiguration | null

Disallow TypeScript enum.

noExportedImports NoExportedImportsConfiguration | null

Disallow exporting an imported variable.

noHeadElement NoHeadElementConfiguration | null

Prevent usage of <head> element in a Next.js project.

noImplicitBoolean NoImplicitBooleanConfiguration | null

Disallow implicit true values on JSX boolean attributes

noInferrableTypes NoInferrableTypesConfiguration | null

Disallow type annotations for variables, parameters, and class properties initialized with a literal expression.

noMagicNumbers NoMagicNumbersConfiguration | null

Reports usage of "magic numbers" — numbers used directly instead of being assigned to named constants.

noNamespace NoNamespaceConfiguration | null

Disallow the use of TypeScript's namespaces.

noNegationElse NoNegationElseConfiguration | null

Disallow negation in the condition of an if statement if it has an else clause.

noNestedTernary NoNestedTernaryConfiguration | null

Disallow nested ternary expressions.

noNonNullAssertion NoNonNullAssertionConfiguration | null

Disallow non-null assertions using the ! postfix operator.

noParameterAssign NoParameterAssignConfiguration | null

Disallow reassigning function parameters.

noParameterProperties NoParameterPropertiesConfiguration | null

Disallow the use of parameter properties in class constructors.

noProcessEnv NoProcessEnvConfiguration | null

Disallow the use of process.env.

noRestrictedGlobals NoRestrictedGlobalsConfiguration | null

This rule allows you to specify global variable names that you don’t want to use in your application.

noRestrictedImports NoRestrictedImportsConfiguration | null

Disallow specified modules when loaded by import or require.

noRestrictedTypes NoRestrictedTypesConfiguration | null

Disallow user defined types.

noShoutyConstants NoShoutyConstantsConfiguration | null

Disallow the use of constants which its value is the upper-case version of its name.

noSubstr NoSubstrConfiguration | null

Enforce the use of String.slice() over String.substr() and String.substring().

noUnusedTemplateLiteral NoUnusedTemplateLiteralConfiguration | null

Disallow template literals if interpolation and special-character handling are not needed

noUselessElse NoUselessElseConfiguration | null

Disallow else block when the if block breaks early.

noValueAtRule NoValueAtRuleConfiguration | null

Disallow use of @value rule in css modules.

noYodaExpression NoYodaExpressionConfiguration | null

Disallow the use of yoda expressions.

recommended boolean | null

Enables the recommended rules for this group

useArrayLiterals UseArrayLiteralsConfiguration | null

Disallow Array constructors.

useAsConstAssertion UseAsConstAssertionConfiguration | null

Enforce the use of as const over literal type and type annotation.

useAtIndex UseAtIndexConfiguration | null

Use at() instead of integer index access.

useBlockStatements UseBlockStatementsConfiguration | null

Requires following curly brace conventions.

useCollapsedElseIf UseCollapsedElseIfConfiguration | null

Enforce using else if instead of nested if in else clauses.

useCollapsedIf UseCollapsedIfConfiguration | null

Enforce using single if instead of nested if clauses.

useComponentExportOnlyModules UseComponentExportOnlyModulesConfiguration | null

Enforce declaring components only within modules that export React Components exclusively.

useConsistentArrayType UseConsistentArrayTypeConfiguration | null

Require consistently using either T[] or Array<T>

useConsistentBuiltinInstantiation UseConsistentBuiltinInstantiationConfiguration | null

Enforce the use of new for all builtins, except String, Number and Boolean.

useConsistentCurlyBraces UseConsistentCurlyBracesConfiguration | null

This rule enforces consistent use of curly braces inside JSX attributes and JSX children.

useConsistentMemberAccessibility UseConsistentMemberAccessibilityConfiguration | null

Require consistent accessibility modifiers on class properties and methods.

useConsistentObjectDefinitions UseConsistentObjectDefinitionsConfiguration | null

Require the consistent declaration of object literals. Defaults to explicit definitions.

useConst UseConstConfiguration | null

Require const declarations for variables that are only assigned once.

useDefaultParameterLast UseDefaultParameterLastConfiguration | null

Enforce default function parameters and optional function parameters to be last.

useDefaultSwitchClause UseDefaultSwitchClauseConfiguration | null

Require the default clause in switch statements.

useDeprecatedReason UseDeprecatedReasonConfiguration | null

Require specifying the reason argument when using @deprecated directive

useEnumInitializers UseEnumInitializersConfiguration | null

Require that each enum member value be explicitly initialized.

useExplicitLengthCheck UseExplicitLengthCheckConfiguration | null

Enforce explicitly comparing the length, size, byteLength or byteOffset property of a value.

useExponentiationOperator UseExponentiationOperatorConfiguration | null

Disallow the use of Math.pow in favor of the ** operator.

useExportType UseExportTypeConfiguration | null

Promotes the use of export type for types.

useExportsLast UseExportsLastConfiguration | null

Require that all exports are declared after all non-export statements.

useFilenamingConvention UseFilenamingConventionConfiguration | null

Enforce naming conventions for JavaScript and TypeScript filenames.

useForOf UseForOfConfiguration | null

Prefer using for...of loops over standard for loops where possible.

useFragmentSyntax UseFragmentSyntaxConfiguration | null

This rule enforces the use of <>...</> over <Fragment>...</Fragment>.

useGraphqlNamingConvention UseGraphqlNamingConventionConfiguration | null

Validates that all enum values are capitalized.

useGroupedAccessorPairs UseGroupedAccessorPairsConfiguration | null

Enforce that getters and setters for the same property are adjacent in class and object definitions.

useImportType UseImportTypeConfiguration | null

Promotes the use of import type for types.

useLiteralEnumMembers UseLiteralEnumMembersConfiguration | null

Require all enum members to be literal values.

useNamingConvention UseNamingConventionConfiguration | null

Enforce naming conventions for everything across a codebase.

useNodeAssertStrict UseNodeAssertStrictConfiguration | null

Promotes the usage of node:assert/strict over node:assert.

useNodejsImportProtocol UseNodejsImportProtocolConfiguration | null

Enforces using the node: protocol for Node.js builtin modules.

useNumberNamespace UseNumberNamespaceConfiguration | null

Use the Number properties instead of global ones.

useNumericSeparators UseNumericSeparatorsConfiguration | null

Enforce the use of numeric separators in numeric literals.

useObjectSpread UseObjectSpreadConfiguration | null

Prefer object spread over Object.assign() when constructing new objects.

useReadonlyClassProperties UseReadonlyClassPropertiesConfiguration | null

Enforce marking members as readonly if they are never modified outside the constructor.

useSelfClosingElements UseSelfClosingElementsConfiguration | null

Prevent extra closing tags for components without children.

useShorthandAssign UseShorthandAssignConfiguration | null

Require assignment operator shorthand where possible.

useShorthandFunctionType UseShorthandFunctionTypeConfiguration | null

Enforce using function types instead of object type with call signatures.

useSingleVarDeclarator UseSingleVarDeclaratorConfiguration | null

Disallow multiple variable declarations in the same variable statement

useSymbolDescription UseSymbolDescriptionConfiguration | null

Require a description parameter for the Symbol().

useTemplate UseTemplateConfiguration | null

Prefer template literals over string concatenation.

useThrowNewError UseThrowNewErrorConfiguration | null

Require new when throwing an error.

useThrowOnlyError UseThrowOnlyErrorConfiguration | null

Disallow throwing non-Error values.

useTrimStartEnd UseTrimStartEndConfiguration | null

Enforce the use of String.trimStart() and String.trimEnd() over String.trimLeft() and String.trimRight().

useUnifiedTypeSignatures UseUnifiedTypeSignaturesConfiguration | null

Disallow overload signatures that can be unified into a single signature.

Style2 string | string | string

Rule's options.

Suspicious object

A list of rules that belong to this group

noAlert NoAlertConfiguration | null

Disallow the use of alert, confirm, and prompt.

noApproximativeNumericConstant NoApproximativeNumericConstantConfiguration | null

Use standard constants instead of approximated literals.

noArrayIndexKey NoArrayIndexKeyConfiguration | null

Discourage the usage of Array index in keys.

noAssignInExpressions NoAssignInExpressionsConfiguration | null

Disallow assignments in expressions.

noAsyncPromiseExecutor NoAsyncPromiseExecutorConfiguration | null

Disallows using an async function as a Promise executor.

noBiomeFirstException NoBiomeFirstExceptionConfiguration | null

Prevents the use of the ! pattern in the first position of files.includes in the configuration file.

noBitwiseOperators NoBitwiseOperatorsConfiguration | null

Disallow bitwise operators.

noCatchAssign NoCatchAssignConfiguration | null

Disallow reassigning exceptions in catch clauses.

noClassAssign NoClassAssignConfiguration | null

Disallow reassigning class members.

noCommentText NoCommentTextConfiguration | null

Prevent comments from being inserted as text nodes

noCompareNegZero NoCompareNegZeroConfiguration | null

Disallow comparing against -0

noConfusingLabels NoConfusingLabelsConfiguration | null

Disallow labeled statements that are not loops.

noConfusingVoidType NoConfusingVoidTypeConfiguration | null

Disallow void type outside of generic or return types.

noConsole NoConsoleConfiguration | null

Disallow the use of console.

noConstEnum NoConstEnumConfiguration | null

Disallow TypeScript const enum

noConstantBinaryExpressions NoConstantBinaryExpressionsConfiguration | null

Disallow expressions where the operation doesn't affect the value

noControlCharactersInRegex NoControlCharactersInRegexConfiguration | null

Prevents from having control characters and some escape sequences that match control characters in regular expression literals.

noDebugger NoDebuggerConfiguration | null

Disallow the use of debugger

noDocumentCookie NoDocumentCookieConfiguration | null

Disallow direct assignments to document.cookie.

noDocumentImportInPage NoDocumentImportInPageConfiguration | null

Prevents importing next/document outside of pages/_document.jsx in Next.js projects.

noDoubleEquals NoDoubleEqualsConfiguration | null

Require the use of === and !==.

noDuplicateAtImportRules NoDuplicateAtImportRulesConfiguration | null

Disallow duplicate @import rules.

noDuplicateCase NoDuplicateCaseConfiguration | null

Disallow duplicate case labels.

noDuplicateClassMembers NoDuplicateClassMembersConfiguration | null

Disallow duplicate class members.

noDuplicateCustomProperties NoDuplicateCustomPropertiesConfiguration | null

Disallow duplicate custom properties within declaration blocks.

noDuplicateElseIf NoDuplicateElseIfConfiguration | null

Disallow duplicate conditions in if-else-if chains

noDuplicateFields NoDuplicateFieldsConfiguration | null

No duplicated fields in GraphQL operations.

noDuplicateFontNames NoDuplicateFontNamesConfiguration | null

Disallow duplicate names within font families.

noDuplicateJsxProps NoDuplicateJsxPropsConfiguration | null

Prevents JSX properties to be assigned multiple times.

noDuplicateObjectKeys NoDuplicateObjectKeysConfiguration | null

Disallow two keys with the same name inside objects.

noDuplicateParameters NoDuplicateParametersConfiguration | null

Disallow duplicate function parameter name.

noDuplicateProperties NoDuplicatePropertiesConfiguration | null

Disallow duplicate properties within declaration blocks.

noDuplicateSelectorsKeyframeBlock NoDuplicateSelectorsKeyframeBlockConfiguration | null

Disallow duplicate selectors within keyframe blocks.

noDuplicateTestHooks NoDuplicateTestHooksConfiguration | null

A describe block should not contain duplicate hooks.

noEmptyBlock NoEmptyBlockConfiguration | null

Disallow CSS empty blocks.

noEmptyBlockStatements NoEmptyBlockStatementsConfiguration | null

Disallow empty block statements and static blocks.

noEmptyInterface NoEmptyInterfaceConfiguration | null

Disallow the declaration of empty interfaces.

noEvolvingTypes NoEvolvingTypesConfiguration | null

Disallow variables from evolving into any type through reassignments.

noExplicitAny NoExplicitAnyConfiguration | null

Disallow the any type usage.

noExportsInTest NoExportsInTestConfiguration | null

Disallow using export or module.exports in files containing tests

noExtraNonNullAssertion NoExtraNonNullAssertionConfiguration | null

Prevents the wrong usage of the non-null assertion operator (!) in TypeScript files.

noFallthroughSwitchClause NoFallthroughSwitchClauseConfiguration | null

Disallow fallthrough of switch clauses.

noFocusedTests NoFocusedTestsConfiguration | null

Disallow focused tests.

noFunctionAssign NoFunctionAssignConfiguration | null

Disallow reassigning function declarations.

noGlobalAssign NoGlobalAssignConfiguration | null

Disallow assignments to native objects and read-only global variables.

noGlobalIsFinite NoGlobalIsFiniteConfiguration | null

Use Number.isFinite instead of global isFinite.

noGlobalIsNan NoGlobalIsNanConfiguration | null

Use Number.isNaN instead of global isNaN.

noHeadImportInDocument NoHeadImportInDocumentConfiguration | null

Prevent using the next/head module in pages/_document.js on Next.js projects.

noImplicitAnyLet NoImplicitAnyLetConfiguration | null

Disallow use of implicit any type on variable declarations.

noImportAssign NoImportAssignConfiguration | null

Disallow assigning to imported bindings

noImportantInKeyframe NoImportantInKeyframeConfiguration | null

Disallow invalid !important within keyframe declarations

noIrregularWhitespace NoIrregularWhitespaceConfiguration | null

Disallows the use of irregular whitespace characters.

noLabelVar NoLabelVarConfiguration | null

Disallow labels that share a name with a variable

noMisleadingCharacterClass NoMisleadingCharacterClassConfiguration | null

Disallow characters made with multiple code points in character class syntax.

noMisleadingInstantiator NoMisleadingInstantiatorConfiguration | null

Enforce proper usage of new and constructor.

noMisplacedAssertion NoMisplacedAssertionConfiguration | null

Checks that the assertion function, for example expect, is placed inside an it() function call.

noMisrefactoredShorthandAssign NoMisrefactoredShorthandAssignConfiguration | null

Disallow shorthand assign when variable appears on both sides.

noOctalEscape NoOctalEscapeConfiguration | null

Disallow octal escape sequences in string literals

noPrototypeBuiltins NoPrototypeBuiltinsConfiguration | null

Disallow direct use of Object.prototype builtins.

noQuickfixBiome NoQuickfixBiomeConfiguration | null

Disallow the use if quickfix.biome inside editor settings file.

noReactSpecificProps NoReactSpecificPropsConfiguration | null

Prevents React-specific JSX properties from being used.

noRedeclare NoRedeclareConfiguration | null

Disallow variable, function, class, and type redeclarations in the same scope.

noRedundantUseStrict NoRedundantUseStrictConfiguration | null

Prevents from having redundant "use strict".

noSelfCompare NoSelfCompareConfiguration | null

Disallow comparisons where both sides are exactly the same.

noShadowRestrictedNames NoShadowRestrictedNamesConfiguration | null

Disallow identifiers from shadowing restricted names.

noShorthandPropertyOverrides NoShorthandPropertyOverridesConfiguration | null

Disallow shorthand properties that override related longhand properties.

noSkippedTests NoSkippedTestsConfiguration | null

Disallow disabled tests.

noSparseArray NoSparseArrayConfiguration | null

Prevents the use of sparse arrays (arrays with holes).

noSuspiciousSemicolonInJsx NoSuspiciousSemicolonInJsxConfiguration | null

It detects possible "wrong" semicolons inside JSX elements.

noTemplateCurlyInString NoTemplateCurlyInStringConfiguration | null

Disallow template literal placeholder syntax in regular strings.

noThenProperty NoThenPropertyConfiguration | null

Disallow then property.

noTsIgnore NoTsIgnoreConfiguration | null

Prevents the use of the TypeScript directive @ts-ignore.

noUnassignedVariables NoUnassignedVariablesConfiguration | null

Disallow let or var variables that are read but never assigned.

noUnknownAtRules NoUnknownAtRulesConfiguration | null

Disallow unknown at-rules.

noUnsafeDeclarationMerging NoUnsafeDeclarationMergingConfiguration | null

Disallow unsafe declaration merging between interfaces and classes.

noUnsafeNegation NoUnsafeNegationConfiguration | null

Disallow using unsafe negation.

noUselessEscapeInString NoUselessEscapeInStringConfiguration | null

Disallow unnecessary escapes in string literals.

noUselessRegexBackrefs NoUselessRegexBackrefsConfiguration | null

Disallow useless backreferences in regular expression literals that always match an empty string.

noVar NoVarConfiguration | null

Disallow the use of var

noWith NoWithConfiguration | null

Disallow with statements in non-strict contexts.

recommended boolean | null

Enables the recommended rules for this group

useAdjacentOverloadSignatures UseAdjacentOverloadSignaturesConfiguration | null

Disallow the use of overload signatures that are not next to each other.

useAwait UseAwaitConfiguration | null

Ensure async functions utilize await.

useBiomeIgnoreFolder UseBiomeIgnoreFolderConfiguration | null

Promotes the correct usage for ignoring folders in the configuration file.

useDefaultSwitchClauseLast UseDefaultSwitchClauseLastConfiguration | null

Enforce default clauses in switch statements to be last

useErrorMessage UseErrorMessageConfiguration | null

Enforce passing a message value when creating a built-in error.

useGetterReturn UseGetterReturnConfiguration | null

Enforce get methods to always return a value.

useGoogleFontDisplay UseGoogleFontDisplayConfiguration | null

Enforces the use of a recommended display strategy with Google Fonts.

useGuardForIn UseGuardForInConfiguration | null

Require for-in loops to include an if statement.

useIsArray UseIsArrayConfiguration | null

Use Array.isArray() instead of instanceof Array.

useIterableCallbackReturn UseIterableCallbackReturnConfiguration | null

Enforce consistent return values in iterable callbacks.

useNamespaceKeyword UseNamespaceKeywordConfiguration | null

Require using the namespace keyword over the module keyword to declare TypeScript namespaces.

useNumberToFixedDigitsArgument UseNumberToFixedDigitsArgumentConfiguration | null

Enforce using the digits argument with Number#toFixed().

useStaticResponseMethods UseStaticResponseMethodsConfiguration | null

Use static Response methods instead of new Response() constructor when possible.

useStrictMode UseStrictModeConfiguration | null

Enforce the use of the directive "use strict" in script files.

TrailingCommas string | string | string

Print trailing commas wherever possible in multi-line comma-separated syntactic structures.

TrailingCommas2 string | string
UseAdjacentOverloadSignaturesConfiguration RulePlainConfiguration | RuleWithUseAdjacentOverloadSignaturesOptions
UseAdjacentOverloadSignaturesOptions object
UseAltTextConfiguration RulePlainConfiguration | RuleWithUseAltTextOptions
UseAltTextOptions object
UseAnchorContentConfiguration RulePlainConfiguration | RuleWithUseAnchorContentOptions
UseAnchorContentOptions object
UseAnchorHrefConfiguration RulePlainConfiguration | RuleWithUseAnchorHrefOptions
UseAnchorHrefOptions null
UseAriaActivedescendantWithTabindexConfiguration RulePlainConfiguration | RuleWithUseAriaActivedescendantWithTabindexOptions
UseAriaActivedescendantWithTabindexOptions object
UseAriaPropsForRoleConfiguration RulePlainConfiguration | RuleWithUseAriaPropsForRoleOptions
UseAriaPropsForRoleOptions object
UseAriaPropsSupportedByRoleConfiguration RulePlainConfiguration | RuleWithUseAriaPropsSupportedByRoleOptions
UseAriaPropsSupportedByRoleOptions object
UseArrayLiteralsConfiguration RulePlainConfiguration | RuleWithUseArrayLiteralsOptions
UseArrayLiteralsOptions object
UseArrowFunctionConfiguration RulePlainConfiguration | RuleWithUseArrowFunctionOptions
UseArrowFunctionOptions object
UseAsConstAssertionConfiguration RulePlainConfiguration | RuleWithUseAsConstAssertionOptions
UseAsConstAssertionOptions object
UseAtIndexConfiguration RulePlainConfiguration | RuleWithUseAtIndexOptions
UseAtIndexOptions object
UseAwaitConfiguration RulePlainConfiguration | RuleWithUseAwaitOptions
UseAwaitOptions object
UseBiomeIgnoreFolderConfiguration RulePlainConfiguration | RuleWithUseBiomeIgnoreFolderOptions
UseBiomeIgnoreFolderOptions object
UseBlockStatementsConfiguration RulePlainConfiguration | RuleWithUseBlockStatementsOptions
UseBlockStatementsOptions object
UseButtonTypeConfiguration RulePlainConfiguration | RuleWithUseButtonTypeOptions
UseButtonTypeOptions object
UseCollapsedElseIfConfiguration RulePlainConfiguration | RuleWithUseCollapsedElseIfOptions
UseCollapsedElseIfOptions object
UseCollapsedIfConfiguration RulePlainConfiguration | RuleWithUseCollapsedIfOptions
UseCollapsedIfOptions object
UseComponentExportOnlyModulesConfiguration RulePlainConfiguration | RuleWithUseComponentExportOnlyModulesOptions
UseComponentExportOnlyModulesOptions object
allowConstantExport boolean

Allows the export of constants. This option is for environments that support it, such as Vite

Default: false
allowExportNames string[]

A list of names that can be additionally exported from the module This option is for exports that do not hinder React Fast Refresh, such as meta in Remix

UseConsistentArrayTypeConfiguration RulePlainConfiguration | RuleWithUseConsistentArrayTypeOptions
UseConsistentArrayTypeOptions object
syntax
Default: "shorthand"
All of: ConsistentArrayType string | string
UseConsistentArrowReturnConfiguration RulePlainConfiguration | RuleWithUseConsistentArrowReturnOptions
UseConsistentArrowReturnOptions object

Options for the useConsistentArrowReturn rule.

requireForObjectLiteral boolean

Determines whether the rule enforces a consistent style when the return value is an object literal.

This option is only applicable when used in conjunction with the asNeeded option.

Default: false
style

The style to enforce for arrow function return statements.

Default: "asNeeded"
All of: UseConsistentArrowReturnStyle string | string | string
UseConsistentArrowReturnStyle string | string | string
UseConsistentBuiltinInstantiationConfiguration RulePlainConfiguration | RuleWithUseConsistentBuiltinInstantiationOptions
UseConsistentBuiltinInstantiationOptions object
UseConsistentCurlyBracesConfiguration RulePlainConfiguration | RuleWithUseConsistentCurlyBracesOptions
UseConsistentCurlyBracesOptions object
UseConsistentMemberAccessibilityConfiguration RulePlainConfiguration | RuleWithUseConsistentMemberAccessibilityOptions
UseConsistentMemberAccessibilityOptions object
accessibility

The kind of accessibility you want to enforce. Default to "noPublic"

Default: "noPublic"
All of: Accessibility string
UseConsistentObjectDefinitionsConfiguration RulePlainConfiguration | RuleWithUseConsistentObjectDefinitionsOptions
UseConsistentObjectDefinitionsOptions object
syntax

The preferred syntax to enforce.

Default: "shorthand"
All of: ObjectPropertySyntax string | string
UseConsistentTypeDefinitionsConfiguration RulePlainConfiguration | RuleWithUseConsistentTypeDefinitionsOptions
UseConsistentTypeDefinitionsOptions object
style
Default: "interface"
All of: ConsistentTypeDefinition string | string
UseConstConfiguration RulePlainConfiguration | RuleWithUseConstOptions
UseConstOptions object
UseDateNowConfiguration RulePlainConfiguration | RuleWithUseDateNowOptions
UseDateNowOptions object
UseDefaultParameterLastConfiguration RulePlainConfiguration | RuleWithUseDefaultParameterLastOptions
UseDefaultParameterLastOptions object
UseDefaultSwitchClauseConfiguration RulePlainConfiguration | RuleWithUseDefaultSwitchClauseOptions
UseDefaultSwitchClauseLastConfiguration RulePlainConfiguration | RuleWithUseDefaultSwitchClauseLastOptions
UseDefaultSwitchClauseLastOptions object
UseDefaultSwitchClauseOptions object
UseDeprecatedDateConfiguration RulePlainConfiguration | RuleWithUseDeprecatedDateOptions
UseDeprecatedDateOptions object
argumentName string
Default: "deletionDate"
UseDeprecatedReasonConfiguration RulePlainConfiguration | RuleWithUseDeprecatedReasonOptions
UseDeprecatedReasonOptions object
UseEnumInitializersConfiguration RulePlainConfiguration | RuleWithUseEnumInitializersOptions
UseEnumInitializersOptions object
UseErrorMessageConfiguration RulePlainConfiguration | RuleWithUseErrorMessageOptions
UseErrorMessageOptions object
UseExhaustiveDependenciesConfiguration RulePlainConfiguration | RuleWithUseExhaustiveDependenciesOptions
UseExhaustiveDependenciesOptions object
hooks Hook[]

List of hooks of which the dependencies should be validated.

Default:
[]
reportMissingDependenciesArray boolean

Whether to report an error when a hook has no dependencies array.

Default: false
reportUnnecessaryDependencies boolean

Whether to report an error when a dependency is listed in the dependencies array but isn't used. Defaults to true.

Default: true
UseExhaustiveSwitchCasesConfiguration RulePlainConfiguration | RuleWithUseExhaustiveSwitchCasesOptions
UseExhaustiveSwitchCasesOptions object
UseExplicitLengthCheckConfiguration RulePlainConfiguration | RuleWithUseExplicitLengthCheckOptions
UseExplicitLengthCheckOptions object
UseExplicitTypeConfiguration RulePlainConfiguration | RuleWithUseExplicitTypeOptions
UseExplicitTypeOptions object
UseExponentiationOperatorConfiguration RulePlainConfiguration | RuleWithUseExponentiationOperatorOptions
UseExponentiationOperatorOptions object
UseExportTypeConfiguration RulePlainConfiguration | RuleWithUseExportTypeOptions
UseExportTypeOptions object
UseExportsLastConfiguration RulePlainConfiguration | RuleWithUseExportsLastOptions
UseExportsLastOptions object
UseFilenamingConventionConfiguration RulePlainConfiguration | RuleWithUseFilenamingConventionOptions
UseFilenamingConventionOptions object
filenameCases

Allowed cases for file names.

All of: FilenameCases FilenameCase[]
match Regex | null

Regular expression to enforce

requireAscii boolean

If false, then non-ASCII characters are allowed.

strictCase boolean

If false, then consecutive uppercase are allowed in camel and pascal cases. This does not affect other [Case].

UseFlatMapConfiguration RulePlainConfiguration | RuleWithUseFlatMapOptions
UseFlatMapOptions object
UseFocusableInteractiveConfiguration RulePlainConfiguration | RuleWithUseFocusableInteractiveOptions
UseFocusableInteractiveOptions object
UseForOfConfiguration RulePlainConfiguration | RuleWithUseForOfOptions
UseForOfOptions object
UseFragmentSyntaxConfiguration RulePlainConfiguration | RuleWithUseFragmentSyntaxOptions
UseFragmentSyntaxOptions object
UseGenericFontNamesConfiguration RulePlainConfiguration | RuleWithUseGenericFontNamesOptions
UseGenericFontNamesOptions object
UseGetterReturnConfiguration RulePlainConfiguration | RuleWithUseGetterReturnOptions
UseGetterReturnOptions object
UseGoogleFontDisplayConfiguration RulePlainConfiguration | RuleWithUseGoogleFontDisplayOptions
UseGoogleFontDisplayOptions object
UseGoogleFontPreconnectConfiguration RulePlainConfiguration | RuleWithUseGoogleFontPreconnectOptions
UseGoogleFontPreconnectOptions object
UseGraphqlNamedOperationsConfiguration RulePlainConfiguration | RuleWithUseGraphqlNamedOperationsOptions
UseGraphqlNamedOperationsOptions object
UseGraphqlNamingConventionConfiguration RulePlainConfiguration | RuleWithUseGraphqlNamingConventionOptions
UseGraphqlNamingConventionOptions object
UseGroupedAccessorPairsConfiguration RulePlainConfiguration | RuleWithUseGroupedAccessorPairsOptions
UseGroupedAccessorPairsOptions object
UseGuardForInConfiguration RulePlainConfiguration | RuleWithUseGuardForInOptions
UseGuardForInOptions object
UseHeadingContentConfiguration RulePlainConfiguration | RuleWithUseHeadingContentOptions
UseHeadingContentOptions object
UseHookAtTopLevelConfiguration RulePlainConfiguration | RuleWithUseHookAtTopLevelOptions
UseHookAtTopLevelOptions object
UseHtmlLangConfiguration RulePlainConfiguration | RuleWithUseHtmlLangOptions
UseHtmlLangOptions object
UseIframeTitleConfiguration RulePlainConfiguration | RuleWithUseIframeTitleOptions
UseIframeTitleOptions object
UseImageSizeConfiguration RulePlainConfiguration | RuleWithUseImageSizeOptions
UseImageSizeOptions null
UseImportExtensionsConfiguration RulePlainConfiguration | RuleWithUseImportExtensionsOptions
UseImportExtensionsOptions object
forceJsExtensions boolean

If true, the suggested extension is always .js regardless of what extension the source file has in your project.

Default: false
UseImportTypeConfiguration RulePlainConfiguration | RuleWithUseImportTypeOptions
UseImportTypeOptions object
style

The style to apply when import types. Default to "auto"

Default: "auto"
All of: Style2 string | string | string
UseIndexOfConfiguration RulePlainConfiguration | RuleWithUseIndexOfOptions
UseIndexOfOptions object
UseIsArrayConfiguration RulePlainConfiguration | RuleWithUseIsArrayOptions
UseIsArrayOptions object
UseIsNanConfiguration RulePlainConfiguration | RuleWithUseIsNanOptions
UseIsNanOptions object
UseIterableCallbackReturnConfiguration RulePlainConfiguration | RuleWithUseIterableCallbackReturnOptions
UseIterableCallbackReturnOptions object
UseJsonImportAttributesConfiguration RulePlainConfiguration | RuleWithUseJsonImportAttributesOptions
UseJsonImportAttributesOptions object
UseJsxKeyInIterableConfiguration RulePlainConfiguration | RuleWithUseJsxKeyInIterableOptions
UseJsxKeyInIterableOptions object
checkShorthandFragments boolean

Set to true to check shorthand fragments (<></>)

Default: false
UseKeyWithClickEventsConfiguration RulePlainConfiguration | RuleWithUseKeyWithClickEventsOptions
UseKeyWithClickEventsOptions object
UseKeyWithMouseEventsConfiguration RulePlainConfiguration | RuleWithUseKeyWithMouseEventsOptions
UseKeyWithMouseEventsOptions object
UseLiteralEnumMembersConfiguration RulePlainConfiguration | RuleWithUseLiteralEnumMembersOptions
UseLiteralEnumMembersOptions object
UseLiteralKeysConfiguration RulePlainConfiguration | RuleWithUseLiteralKeysOptions
UseLiteralKeysOptions object
UseMaxParamsConfiguration RulePlainConfiguration | RuleWithUseMaxParamsOptions
UseMaxParamsOptions object
max integer

Maximum number of parameters allowed (default: 4)

Default: 4
format=uint8min=0
UseMediaCaptionConfiguration RulePlainConfiguration | RuleWithUseMediaCaptionOptions
UseMediaCaptionOptions object
UseNamespaceKeywordConfiguration RulePlainConfiguration | RuleWithUseNamespaceKeywordOptions
UseNamespaceKeywordOptions object
UseNamingConventionConfiguration RulePlainConfiguration | RuleWithUseNamingConventionOptions
UseNamingConventionOptions object

Rule's options.

conventions Convention[]

Custom conventions.

requireAscii boolean

If false, then non-ASCII characters are allowed.

strictCase boolean

If false, then consecutive uppercase are allowed in camel and pascal cases. This does not affect other [Case].

UseNodeAssertStrictConfiguration RulePlainConfiguration | RuleWithUseNodeAssertStrictOptions
UseNodeAssertStrictOptions object
UseNodejsImportProtocolConfiguration RulePlainConfiguration | RuleWithUseNodejsImportProtocolOptions
UseNodejsImportProtocolOptions object
UseNumberNamespaceConfiguration RulePlainConfiguration | RuleWithUseNumberNamespaceOptions
UseNumberNamespaceOptions object
UseNumberToFixedDigitsArgumentConfiguration RulePlainConfiguration | RuleWithUseNumberToFixedDigitsArgumentOptions
UseNumberToFixedDigitsArgumentOptions object
UseNumericLiteralsConfiguration RulePlainConfiguration | RuleWithUseNumericLiteralsOptions
UseNumericLiteralsOptions object
UseNumericSeparatorsConfiguration RulePlainConfiguration | RuleWithUseNumericSeparatorsOptions
UseNumericSeparatorsOptions object
UseObjectSpreadConfiguration RulePlainConfiguration | RuleWithUseObjectSpreadOptions
UseObjectSpreadOptions object
UseOptionalChainConfiguration RulePlainConfiguration | RuleWithUseOptionalChainOptions
UseOptionalChainOptions object
UseParseIntRadixConfiguration RulePlainConfiguration | RuleWithUseParseIntRadixOptions
UseParseIntRadixOptions object
UseQwikClasslistConfiguration RulePlainConfiguration | RuleWithUseQwikClasslistOptions
UseQwikClasslistOptions object
UseQwikMethodUsageConfiguration RulePlainConfiguration | RuleWithUseQwikMethodUsageOptions
UseQwikMethodUsageOptions object
UseQwikValidLexicalScopeConfiguration RulePlainConfiguration | RuleWithUseQwikValidLexicalScopeOptions
UseQwikValidLexicalScopeOptions object
UseReactFunctionComponentsConfiguration RulePlainConfiguration | RuleWithUseReactFunctionComponentsOptions
UseReactFunctionComponentsOptions object
UseReadonlyClassPropertiesConfiguration RulePlainConfiguration | RuleWithUseReadonlyClassPropertiesOptions
UseReadonlyClassPropertiesOptions object
checkAllProperties boolean

When true, the keywords public, protected, and private are analyzed by the rule.

UseRegexLiteralsConfiguration RulePlainConfiguration | RuleWithUseRegexLiteralsOptions
UseRegexLiteralsOptions object
UseSelfClosingElementsConfiguration RulePlainConfiguration | RuleWithUseSelfClosingElementsOptions
UseSelfClosingElementsOptions object
ignoreHtmlElements boolean
Default: false
UseSemanticElementsConfiguration RulePlainConfiguration | RuleWithUseSemanticElementsOptions
UseSemanticElementsOptions object
UseShorthandAssignConfiguration RulePlainConfiguration | RuleWithUseShorthandAssignOptions
UseShorthandAssignOptions object
UseShorthandFunctionTypeConfiguration RulePlainConfiguration | RuleWithUseShorthandFunctionTypeOptions
UseShorthandFunctionTypeOptions object
UseSimpleNumberKeysConfiguration RulePlainConfiguration | RuleWithUseSimpleNumberKeysOptions
UseSimpleNumberKeysOptions object
UseSimplifiedLogicExpressionConfiguration RulePlainConfiguration | RuleWithUseSimplifiedLogicExpressionOptions
UseSimplifiedLogicExpressionOptions object
UseSingleJsDocAsteriskConfiguration RulePlainConfiguration | RuleWithUseSingleJsDocAsteriskOptions
UseSingleJsDocAsteriskOptions object
UseSingleVarDeclaratorConfiguration RulePlainConfiguration | RuleWithUseSingleVarDeclaratorOptions
UseSingleVarDeclaratorOptions object
UseSolidForComponentConfiguration RulePlainConfiguration | RuleWithUseSolidForComponentOptions
UseSolidForComponentOptions object
UseSortedAttributesOptions object
sortOrder
Default: "natural"
All of: SortOrder string
UseSortedClassesConfiguration RulePlainConfiguration | RuleWithUseSortedClassesOptions
UseSortedClassesOptions object
attributes array | null

Additional attributes that will be sorted.

functions array | null

Names of the functions or tagged templates that will be sorted.

UseSortedKeysOptions object
sortOrder
Default: "natural"
All of: SortOrder string
UseSortedPropertiesOptions object
UseStaticResponseMethodsConfiguration RulePlainConfiguration | RuleWithUseStaticResponseMethodsOptions
UseStaticResponseMethodsOptions object
UseStrictModeConfiguration RulePlainConfiguration | RuleWithUseStrictModeOptions
UseStrictModeOptions object
UseSymbolDescriptionConfiguration RulePlainConfiguration | RuleWithUseSymbolDescriptionOptions
UseSymbolDescriptionOptions object
UseTemplateConfiguration RulePlainConfiguration | RuleWithUseTemplateOptions
UseTemplateOptions object
UseThrowNewErrorConfiguration RulePlainConfiguration | RuleWithUseThrowNewErrorOptions
UseThrowNewErrorOptions object
UseThrowOnlyErrorConfiguration RulePlainConfiguration | RuleWithUseThrowOnlyErrorOptions
UseThrowOnlyErrorOptions object
UseTopLevelRegexConfiguration RulePlainConfiguration | RuleWithUseTopLevelRegexOptions
UseTopLevelRegexOptions object
UseTrimStartEndConfiguration RulePlainConfiguration | RuleWithUseTrimStartEndOptions
UseTrimStartEndOptions object
UseUnifiedTypeSignaturesConfiguration RulePlainConfiguration | RuleWithUseUnifiedTypeSignaturesOptions
UseUnifiedTypeSignaturesOptions object
UseUniqueElementIdsConfiguration RulePlainConfiguration | RuleWithUseUniqueElementIdsOptions
UseUniqueElementIdsOptions object
excludedComponents string[]

Component names that accept an id prop that does not translate to a DOM element id.

Default:
[]
uniqueItems=true
UseValidAnchorConfiguration RulePlainConfiguration | RuleWithUseValidAnchorOptions
UseValidAnchorOptions object
UseValidAriaPropsConfiguration RulePlainConfiguration | RuleWithUseValidAriaPropsOptions
UseValidAriaPropsOptions object
UseValidAriaRoleConfiguration RulePlainConfiguration | RuleWithUseValidAriaRoleOptions
UseValidAriaRoleOptions object
allowInvalidRoles string[]

It allows specifying a list of roles that might be invalid otherwise

Default:
[]
ignoreNonDom boolean

Use this option to ignore non-DOM elements, such as custom components

Default: false
UseValidAriaValuesConfiguration RulePlainConfiguration | RuleWithUseValidAriaValuesOptions
UseValidAriaValuesOptions object
UseValidAutocompleteConfiguration RulePlainConfiguration | RuleWithUseValidAutocompleteOptions
UseValidAutocompleteOptions object
inputComponents string[]

input like custom components that should be checked.

Default:
[]
UseValidForDirectionConfiguration RulePlainConfiguration | RuleWithUseValidForDirectionOptions
UseValidForDirectionOptions object
UseValidLangConfiguration RulePlainConfiguration | RuleWithUseValidLangOptions
UseValidLangOptions object
UseValidTypeofConfiguration RulePlainConfiguration | RuleWithUseValidTypeofOptions
UseValidTypeofOptions object
UseVueMultiWordComponentNamesConfiguration RulePlainConfiguration | RuleWithUseVueMultiWordComponentNamesOptions
UseVueMultiWordComponentNamesOptions object
ignores string[]

Component names to ignore (allowed to be single-word).

UseWhileConfiguration RulePlainConfiguration | RuleWithUseWhileOptions
UseWhileOptions object
UseYieldConfiguration RulePlainConfiguration | RuleWithUseYieldOptions
UseYieldOptions object
VcsClientKind string
VcsConfiguration object

Set of properties to integrate Biome with a VCS software.

clientKind VcsClientKind | null

The kind of client.

defaultBranch string | null

The main branch of the project

enabled Bool | null

Whether Biome should integrate itself with the VCS client

root string | null

The folder where Biome should check for VCS files. By default, Biome will use the same folder where biome.json was found.

If Biome can't find the configuration, it will attempt to use the current working directory. If no current working directory can't be found, Biome won't use the VCS integration, and a diagnostic will be emitted

useIgnoreFile Bool | null

Whether Biome should use the VCS ignore file. When [true], Biome will ignore the files specified in the ignore file.

Visibility string
WhitespaceSensitivity string | string | string

Whitespace sensitivity for HTML formatting.

The following two cases won't produce the same output:

| | html | output | | -------------- | :------------: | :----------: | | with spaces | 1<b> 2 </b>3 | 1 2 3 | | without spaces | 1<b>2</b>3 | 123 |

This happens because whitespace is significant in inline elements.

As a consequence of this, the formatter must format blocks that look like this (assume a small line width, <20): html <span>really long content</span> as this, where the content hugs the tags: html <span >really long content</span >

Note that this is only necessary for inline elements. Block elements do not have this restriction.