Rules sources
Biome exclusive rules
Section titled Biome exclusive rules- noAccumulatingSpread
- noConstEnum
- noDelete
- noGlobalIsFinite
- noGlobalIsNan
- noImplicitAnyLet
- noRedundantUseStrict
- noRenderReturnValue
- noShoutyConstants
- noSvgWithoutTitle
- noUnnecessaryContinue
- noVoidTypeReturn
- useSimpleNumberKeys
- useSimplifiedLogicExpression
- useSingleCaseStatement
- useWhile
Rules from other sources
Section titled Rules from other sourcesClippy
Section titled ClippyClippy rule name | Biome rule name |
---|---|
approx_constant | noApproximativeNumericConstant (inspired) |
match_str_case_mismatch | noStringCaseMismatch |
misrefactored_assign_op | noMisrefactoredShorthandAssign |
ESLint
Section titled ESLinteslint-plugin-import
Section titled eslint-plugin-importeslint-plugin-import rule name | Biome rule name |
---|---|
no-default-export | noDefaultExport (inspired) |
eslint-plugin-jsx-a11y
Section titled eslint-plugin-jsx-a11yeslint-plugin-mysticates
Section titled eslint-plugin-mysticateseslint-plugin-mysticates rule name | Biome rule name |
---|---|
no-this-in-static | noThisInStatic (inspired) |
eslint-plugin-react
Section titled eslint-plugin-reacteslint-plugin-react-hooks
Section titled eslint-plugin-react-hookseslint-plugin-react-hooks rule name | Biome rule name |
---|---|
exhaustive-deps | useExhaustiveDependencies (inspired) |
rules-of-hooks | useHookAtTopLevel |
eslint-plugin-sonarjs
Section titled eslint-plugin-sonarjseslint-plugin-sonarjs rule name | Biome rule name |
---|---|
cognitive-complexity | noExcessiveCognitiveComplexity (inspired) |
eslint-plugin-stylistic
Section titled eslint-plugin-stylisticeslint-plugin-stylistic rule name | Biome rule name |
---|---|
jsx-self-closing-comp | useSelfClosingElements (inspired) |
eslint-plugin-typescript
Section titled eslint-plugin-typescripteslint-plugin-unicorn
Section titled eslint-plugin-unicorneslint-plugin-unicorn rule name | Biome rule name |
---|---|
no-array-for-each | noForEach (inspired) |
no-instanceof-array | useIsArray |
no-useless-switch-case | noUselessSwitchCase |
prefer-array-flat-map | useFlatMap |