Rules sources
Biome exclusive rules
Section titled Biome exclusive rules- noAccumulatingSpread
- noConstEnum
- noDelete
- noEmptyTypeParameters
- noGlobalIsFinite
- noGlobalIsNan
- noImplicitAnyLet
- noRedundantUseStrict
- noRenderReturnValue
- noShoutyConstants
- noSvgWithoutTitle
- noUnnecessaryContinue
- noUnusedImports
- noVoidTypeReturn
- useShorthandArrayType
- useSimpleNumberKeys
- useSimplifiedLogicExpression
- useSingleCaseStatement
- useWhile
Rules from other sources
Section titled Rules from other sourcesClippy
Section titled Clippy| Clippy 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-import| eslint-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-mysticates| eslint-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-hooks| eslint-plugin-react-hooks rule name | Biome rule name |
|---|---|
| exhaustive-deps | useExhaustiveDependencies (inspired) |
| rules-of-hooks | useHookAtTopLevel |
eslint-plugin-sonarjs
Section titled eslint-plugin-sonarjs| eslint-plugin-sonarjs rule name | Biome rule name |
|---|---|
| cognitive-complexity | noExcessiveCognitiveComplexity (inspired) |
eslint-plugin-stylistic
Section titled eslint-plugin-stylistic| eslint-plugin-stylistic rule name | Biome rule name |
|---|---|
| jsx-self-closing-comp | useSelfClosingElements (inspired) |