Skip to content

Rules sources

@mysticatea/eslint-plugin rule nameBiome rule name
no-this-in-staticnoThisInStatic (inspired)
Clippy rule nameBiome rule name
approx_constantnoApproximativeNumericConstant (inspired)
collapsible_else_ifuseCollapsedElseIf
eq_opnoSelfCompare
if_not_elsenoNegationElse
lossy_float_literalnoPrecisionLoss
map_flattenuseFlatMap
match_str_case_mismatchnoStringCaseMismatch
misrefactored_assign_opnoMisrefactoredShorthandAssign
needless_for_eachnoForEach
redundant_else noUselessElse (inspired)
self_assignmentnoSelfAssign
ESLint rule nameBiome rule name
constructor-supernoInvalidConstructorSuper
curlyuseBlockStatements
default-case-lastuseDefaultSwitchClauseLast
default-param-lastuseDefaultParameterLast
dot-notationuseLiteralKeys
eqeqeqnoDoubleEquals
for-directionuseValidForDirection
getter-returnuseGetterReturn
no-async-promise-executornoAsyncPromiseExecutor
no-case-declarationsnoSwitchDeclarations
no-class-assignnoClassAssign
no-compare-neg-zeronoCompareNegZero
no-cond-assignnoAssignInExpressions (inspired)
no-consolenoConsoleLog (inspired)
no-const-assignnoConstAssign
no-constant-conditionnoConstantCondition
no-constructor-returnnoConstructorReturn
no-control-regexnoControlCharactersInRegex
no-debuggernoDebugger
no-dupe-argsnoDuplicateParameters
no-dupe-class-membersnoDuplicateClassMembers
no-dupe-keysnoDuplicateObjectKeys
no-duplicate-casenoDuplicateCase
no-else-returnnoUselessElse (inspired)
no-emptynoEmptyBlockStatements
no-empty-character-classnoEmptyCharacterClassInRegex
no-empty-functionnoEmptyBlockStatements
no-empty-patternnoEmptyPattern
no-empty-static-blocknoEmptyBlockStatements
no-evalnoGlobalEval
no-ex-assignnoCatchAssign
no-extra-boolean-castnoExtraBooleanCast
no-extra-labelnoUselessLabel
no-fallthroughnoFallthroughSwitchClause
no-func-assignnoFunctionAssign
no-global-assignnoGlobalAssign
no-import-assignnoImportAssign
no-inner-declarationsnoInnerDeclarations
no-label-varnoLabelVar
no-labelsnoConfusingLabels (inspired)
no-lone-blocksnoUselessLoneBlockStatements
no-lonely-ifuseCollapsedElseIf
no-loss-of-precisionnoPrecisionLoss
no-misleading-character-classnoMisleadingCharacterClass
no-negated-conditionnoNegationElse
no-new-native-nonconstructornoInvalidNewBuiltin
no-new-symbolnoNewSymbol
no-nonoctal-decimal-escapenoNonoctalDecimalEscape
no-obj-callsnoGlobalObjectCalls
no-param-reassignnoParameterAssign
no-prototype-builtinsnoPrototypeBuiltins
no-redeclarenoRedeclare
no-regex-spacesnoMultipleSpacesInRegularExpressionLiterals
no-restricted-globalsnoRestrictedGlobals
no-self-assignnoSelfAssign
no-self-comparenoSelfCompare
no-sequencesnoCommaOperator
no-setter-returnnoSetterReturn
no-shadow-restricted-namesnoShadowRestrictedNames
no-sparse-arraynoSparseArray
no-this-before-supernoUnreachableSuper
no-undefnoUndeclaredVariables
no-unneeded-ternarynoUselessTernary
no-unreachablenoUnreachable
no-unsafe-finallynoUnsafeFinally
no-unsafe-negationnoUnsafeNegation
no-unsafe-optional-chainingnoUnsafeOptionalChaining
no-unused-labelsnoUnusedLabels
no-unused-private-class-membersnoUnusedPrivateClassMembers
no-unused-varsnoUnusedVariables
no-use-before-definenoInvalidUseBeforeDeclaration
no-useless-catchnoUselessCatch
no-useless-constructornoUselessConstructor
no-useless-renamenoUselessRename
no-varnoVar
no-voidnoVoid
no-withnoWith
one-varuseSingleVarDeclarator
operator-assignmentuseShorthandAssign
prefer-arrow-callbackuseArrowFunction (inspired)
prefer-constuseConst
prefer-exponentiation-operatoruseExponentiationOperator
prefer-numeric-literalsuseNumericLiterals
prefer-regex-literalsuseRegexLiterals
prefer-rest-paramsnoArguments (inspired)
prefer-templateuseTemplate
require-awaituseAwait
require-yielduseYield
use-isnanuseIsNan
valid-typeofuseValidTypeof
eslint-plugin-barrel-files rule nameBiome rule name
avoid-barrel-filesnoBarrelFile (inspired)
avoid-namespace-importnoNamespaceImport
avoid-re-export-allnoReExportAll
eslint-plugin-import rule nameBiome rule name
no-default-exportnoDefaultExport (inspired)
eslint-plugin-jest rule nameBiome rule name
max-nested-describenoExcessiveNestedTestSuites
no-disabled-testsnoSkippedTests (inspired)
no-duplicate-hooksnoDuplicateTestHooks (inspired)
no-exportnoExportsInTest (inspired)
no-focused-testsnoFocusedTests (inspired)
eslint-plugin-jsx-a11y rule nameBiome rule name
alt-textuseAltText
anchor-has-contentuseAnchorContent
anchor-is-validuseValidAnchor
aria-activedescendant-has-tabindexuseAriaActivedescendantWithTabindex
aria-propsuseValidAriaProps
aria-proptypesuseValidAriaValues
aria-roleuseValidAriaRole
aria-unsupported-elementsnoAriaUnsupportedElements
click-events-have-key-eventsuseKeyWithClickEvents
heading-has-contentuseHeadingContent
html-has-languseHtmlLang
iframe-has-titleuseIframeTitle
img-redundant-altnoRedundantAlt
languseValidLang
media-has-captionuseMediaCaption
mouse-events-have-key-eventsuseKeyWithMouseEvents
no-access-keynoAccessKey (inspired)
no-aria-hidden-on-focusablenoAriaHiddenOnFocusable
no-autofocusnoAutofocus
no-distracting-elementsnoDistractingElements
no-interactive-element-to-noninteractive-rolenoInteractiveElementToNoninteractiveRole
no-noninteractive-element-to-interactive-rolenoNoninteractiveElementToInteractiveRole
no-noninteractive-tabindexnoNoninteractiveTabindex
no-redundant-rolesnoRedundantRoles
role-has-required-aria-propsuseAriaPropsForRole
scopenoHeaderScope
tabindex-no-positivenoPositiveTabindex
eslint-plugin-react rule nameBiome rule name
button-has-typeuseButtonType
jsx-boolean-valuenoImplicitBoolean
jsx-fragmentsuseFragmentSyntax
jsx-keyuseJsxKeyInIterable
jsx-no-comment-textnodesnoCommentText
jsx-no-duplicate-propsnoDuplicateJsxProps
jsx-no-target-blanknoBlankTarget
jsx-no-useless-fragmentnoUselessFragments
no-array-index-keynoArrayIndexKey (inspired)
no-children-propnoChildrenProp
no-dangernoDangerouslySetInnerHtmlWithChildren
no-danger-with-childrennoDangerouslySetInnerHtml
void-dom-elements-no-childrennoVoidElementsWithChildren
eslint-plugin-react-hooks rule nameBiome rule name
exhaustive-depsuseExhaustiveDependencies (inspired)
rules-of-hooksuseHookAtTopLevel
eslint-plugin-sonarjs rule nameBiome rule name
cognitive-complexitynoExcessiveCognitiveComplexity (inspired)
eslint-plugin-stylistic rule nameBiome rule name
jsx-self-closing-compuseSelfClosingElements (inspired)
eslint-plugin-unicorn rule nameBiome rule name
filename-caseuseFilenamingConvention (inspired)
no-array-for-eachnoForEach (inspired)
no-for-loopuseForOf
no-instanceof-arrayuseIsArray
no-static-only-classnoStaticOnlyClass
no-thenablenoThenProperty
no-useless-switch-casenoUselessSwitchCase
prefer-array-flat-mapuseFlatMap
prefer-node-protocoluseNodejsImportProtocol
prefer-number-propertiesuseNumberNamespace
typescript-eslint rule nameBiome rule name
array-typeuseConsistentArrayType
ban-typesnoBannedTypes (inspired)
consistent-type-exportsuseExportType (inspired)
consistent-type-importsuseImportType (inspired)
default-param-lastuseDefaultParameterLast
dot-notationuseLiteralKeys
naming-conventionuseNamingConvention (inspired)
no-dupe-class-membersnoDuplicateClassMembers
no-empty-functionnoEmptyBlockStatements
no-empty-interfacenoEmptyInterface (inspired)
no-explicit-anynoExplicitAny
no-extra-non-null-assertionnoExtraNonNullAssertion
no-extraneous-classnoStaticOnlyClass
no-inferrable-typesnoInferrableTypes
no-invalid-void-typenoConfusingVoidType
no-loss-of-precisionnoPrecisionLoss
no-misused-newnoMisleadingInstantiator
no-namespacenoNamespace
no-non-null-assertionnoNonNullAssertion
no-redeclarenoRedeclare
no-this-aliasnoUselessThisAlias (inspired)
no-unnecessary-type-constraintnoUselessTypeConstraint
no-unsafe-declaration-mergingnoUnsafeDeclarationMerging
no-unused-varsnoUnusedVariables
no-use-before-definenoInvalidUseBeforeDeclaration
no-useless-constructornoUselessConstructor
no-useless-empty-exportnoUselessEmptyExport
no-useless-template-literalsnoUnusedTemplateLiteral
parameter-propertiesnoParameterProperties (inspired)
prefer-as-constuseAsConstAssertion
prefer-enum-initializersuseEnumInitializers
prefer-for-ofuseForOf
prefer-function-typeuseShorthandFunctionType
prefer-literal-enum-memberuseLiteralEnumMembers
prefer-namespace-keyworduseNamespaceKeyword
prefer-optional-chainuseOptionalChain
require-awaituseAwait