跳转到内容

Rules sources

此内容尚不支持你的语言。

@mysticatea/eslint-plugin rule nameBiome rule name
no-this-in-staticnoThisInStatic (inspired)
@next/eslint-plugin-next rule nameBiome rule name
google-font-displayuseGoogleFontDisplay
no-document-import-in-pagenoDocumentImportInPage
no-head-elementnoHeadElement
no-head-import-in-documentnoHeadImportInDocument
no-img-elementnoImgElement
Clippy rule nameBiome rule name
approx_constantnoApproximativeNumericConstant (inspired)
collapsible_else_ifuseCollapsedElseIf
collapsible_ifuseCollapsedIf
eq_opnoSelfCompare
flat_map_identitynoFlatMapIdentity
if_not_elsenoNegationElse
lossy_float_literalnoPrecisionLoss
map_flattenuseFlatMap
match_str_case_mismatchnoStringCaseMismatch
min_maxnoConstantMathMinMaxClamp
misrefactored_assign_opnoMisrefactoredShorthandAssign
needless_for_eachnoForEach
redundant_else noUselessElse (inspired)
self_assignmentnoSelfAssign
ESLint rule nameBiome rule name
constructor-supernoInvalidConstructorSuper
curlyuseBlockStatements
default-caseuseDefaultSwitchClause
default-case-lastuseDefaultSwitchClauseLast
default-param-lastuseDefaultParameterLast
dot-notationuseLiteralKeys
eqeqeqnoDoubleEquals
for-directionuseValidForDirection
getter-returnuseGetterReturn
guard-for-inuseGuardForIn
no-array-constructoruseArrayLiterals
no-async-promise-executornoAsyncPromiseExecutor
no-case-declarationsnoSwitchDeclarations
no-class-assignnoClassAssign
no-compare-neg-zeronoCompareNegZero
no-cond-assignnoAssignInExpressions (inspired)
no-consolenoConsole
no-const-assignnoConstAssign
no-constant-conditionnoConstantCondition
no-constructor-returnnoConstructorReturn
no-control-regexnoControlCharactersInRegex
no-debuggernoDebugger
no-dupe-argsnoDuplicateParameters
no-dupe-class-membersnoDuplicateClassMembers
no-dupe-else-ifnoDuplicateElseIf
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-irregular-whitespacenoIrregularWhitespace
no-label-varnoLabelVar
no-labelsnoConfusingLabels (inspired)
no-lone-blocksnoUselessLoneBlockStatements
no-lonely-ifuseCollapsedElseIf
no-loss-of-precisionnoPrecisionLoss
no-misleading-character-classnoMisleadingCharacterClass
no-negated-conditionnoNegationElse
no-nested-ternarynoNestedTernary
no-new-native-nonconstructornoInvalidBuiltinInstantiation
no-new-symbolnoNewSymbol
no-new-wrappersuseConsistentBuiltinInstantiation
no-nonoctal-decimal-escapenoNonoctalDecimalEscape
no-obj-callsnoGlobalObjectCalls
no-octal-escapenoOctalEscape
no-param-reassignnoParameterAssign
no-prototype-builtinsnoPrototypeBuiltins
no-redeclarenoRedeclare
no-regex-spacesnoMultipleSpacesInRegularExpressionLiterals
no-restricted-globalsnoRestrictedGlobals
no-restricted-importsnoRestrictedImports
no-self-assignnoSelfAssign
no-self-comparenoSelfCompare
no-sequencesnoCommaOperator
no-setter-returnnoSetterReturn
no-shadow-restricted-namesnoShadowRestrictedNames
no-sparse-arraysnoSparseArray
no-template-curly-in-stringnoTemplateCurlyInString
no-this-before-supernoUnreachableSuper
no-throw-literaluseThrowOnlyError (inspired)
no-undefnoUndeclaredVariables
no-undef-initnoUselessUndefinedInitialization
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-concatnoUselessStringConcat
no-useless-constructornoUselessConstructor
no-useless-escapenoUselessEscapeInRegex
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-object-has-ownnoPrototypeBuiltins
prefer-regex-literalsuseRegexLiterals
prefer-rest-paramsnoArguments (inspired)
prefer-templateuseTemplate
require-awaituseAwait
require-yielduseYield
use-isnanuseIsNan
valid-typeofuseValidTypeof
yodanoYodaExpression
GraphQL-ESLint rule nameBiome rule name
no-duplicate-fieldsnoDuplicatedFields
require-deprecation-reasonuseDeprecatedReason
Stylelint rule nameBiome rule name
block-no-emptynoEmptyBlock
custom-property-no-missing-var-functionnoMissingVarFunction
declaration-block-no-duplicate-custom-propertiesnoDuplicateCustomProperties
declaration-block-no-duplicate-propertiesnoDuplicateProperties
declaration-block-no-shorthand-property-overridesnoShorthandPropertyOverrides
font-family-no-duplicate-namesnoDuplicateFontNames
font-family-no-missing-generic-family-keyworduseGenericFontNames
function-linear-gradient-no-nonstandard-directionnoInvalidDirectionInLinearGradient
function-no-unknownnoUnknownFunction
keyframe-block-no-duplicate-selectorsnoDuplicateSelectorsKeyframeBlock
keyframe-declaration-no-importantnoImportantInKeyframe
media-feature-name-no-unknownnoUnknownMediaFeatureName
named-grid-areas-no-invalidnoInvalidGridAreas
no-descending-specificitynoDescendingSpecificity (inspired)
no-duplicate-at-import-rulesnoDuplicateAtImportRules
no-invalid-position-at-import-rulenoInvalidPositionAtImportRule
no-irregular-whitespacenoIrregularWhitespace
property-no-unknownnoUnknownProperty
selector-anb-no-unmatchablenoUnmatchableAnbSelector
selector-pseudo-class-no-unknownnoUnknownPseudoClass
selector-pseudo-element-no-unknownnoUnknownPseudoElement
selector-type-no-unknownnoUnknownTypeSelector
unit-no-unknownnoUnknownUnit
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-commonjsnoCommonJs (inspired)
no-default-exportnoDefaultExport
no-extraneous-dependenciesnoUndeclaredDependencies
no-nodejs-modulesnoNodejsModules
eslint-plugin-import-access rule nameBiome rule name
eslint-plugin-import-accessuseImportRestrictions (inspired)
eslint-plugin-jest rule nameBiome rule name
max-nested-describenoExcessiveNestedTestSuites
no-disabled-testsnoSkippedTests (inspired)
no-done-callbacknoDoneCallback (inspired)
no-duplicate-hooksnoDuplicateTestHooks (inspired)
no-exportnoExportsInTest (inspired)
no-focused-testsnoFocusedTests (inspired)
no-standalone-expectnoMisplacedAssertion (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
autocomplete-validuseValidAutocomplete
click-events-have-key-eventsuseKeyWithClickEvents
heading-has-contentuseHeadingContent
html-has-languseHtmlLang
iframe-has-titleuseIframeTitle
img-redundant-altnoRedundantAlt
interactive-supports-focususeFocusableInteractive
label-has-associated-controlnoLabelWithoutControl
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
no-static-element-interactionsnoStaticElementInteractions
prefer-tag-over-roleuseSemanticElements
role-has-required-aria-propsuseAriaPropsForRole
role-supports-aria-propsuseAriaPropsSupportedByRole
scopenoHeaderScope
tabindex-no-positivenoPositiveTabindex
eslint-plugin-n rule nameBiome rule name
no-process-envnoProcessEnv (inspired)
eslint-plugin-no-secrets rule nameBiome rule name
no-secretsnoSecrets (inspired)
eslint-plugin-react rule nameBiome rule name
button-has-typeuseButtonType
jsx-boolean-valuenoImplicitBoolean (inspired)
jsx-curly-brace-presenceuseConsistentCurlyBraces (inspired)
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-dangernoDangerouslySetInnerHtml
no-danger-with-childrennoDangerouslySetInnerHtmlWithChildren
void-dom-elements-no-childrennoVoidElementsWithChildren
eslint-plugin-react-hooks rule nameBiome rule name
exhaustive-depsuseExhaustiveDependencies (inspired)
rules-of-hooksuseHookAtTopLevel
eslint-plugin-react-refresh rule nameBiome rule name
only-export-componentsuseComponentExportOnlyModules (inspired)
eslint-plugin-solid rule nameBiome rule name
no-react-specific-propsnoReactSpecificProps (inspired)
eslint-plugin-sonarjs rule nameBiome rule name
cognitive-complexitynoExcessiveCognitiveComplexity (inspired)
prefer-whileuseWhile
eslint-plugin-stylistic rule nameBiome rule name
jsx-self-closing-compuseSelfClosingElements (inspired)
eslint-plugin-unicorn rule nameBiome rule name
error-messageuseErrorMessage
explicit-length-checkuseExplicitLengthCheck
filename-caseuseFilenamingConvention (inspired)
new-for-builtinsnoInvalidBuiltinInstantiation
no-array-for-eachnoForEach
no-document-cookienoDocumentCookie (inspired)
no-for-loopuseForOf
no-instanceof-arrayuseIsArray
no-lonely-ifuseCollapsedIf
no-static-only-classnoStaticOnlyClass
no-thenablenoThenProperty
no-useless-switch-casenoUselessSwitchCase
prefer-array-flat-mapuseFlatMap
prefer-atuseAtIndex (inspired)
prefer-date-nowuseDateNow
prefer-node-protocoluseNodejsImportProtocol
prefer-number-propertiesuseNumberNamespace
prefer-string-slicenoSubstr
prefer-string-trim-start-enduseTrimStartEnd
require-number-to-fixed-digits-argumentuseNumberToFixedDigitsArgument
throw-new-erroruseThrowNewError
eslint-plugin-unused-imports rule nameBiome rule name
no-unused-importsnoUnusedImports (inspired)
no-unused-varsnoUnusedVariables
typescript-eslint rule nameBiome rule name
adjacent-overload-signaturesuseAdjacentOverloadSignatures
array-typeuseConsistentArrayType
ban-typesnoBannedTypes (inspired)
consistent-type-exportsuseExportType (inspired)
consistent-type-importsuseImportType (inspired)
default-param-lastuseDefaultParameterLast
dot-notationuseLiteralKeys
explicit-function-return-typeuseExplicitType
explicit-member-accessibilityuseConsistentMemberAccessibility
naming-conventionuseNamingConvention (inspired)
no-array-constructoruseArrayLiterals
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-require-importsnoCommonJs
no-restricted-importsnoRestrictedImports
no-restricted-typesnoRestrictedTypes
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
only-throw-erroruseThrowOnlyError (inspired)
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