Rules sources
Biome exclusive rules
Section titled Biome exclusive rules- noAccumulatingSpread
- noConsoleLog
- noConstEnum
- noDelete
- noDuplicateObjectKeys
- noDynamicNamespaceImportAccess
- noEmptyTypeParameters
- noEnum
- noEvolvingTypes
- noExportedImports
- noGlobalIsFinite
- noGlobalIsNan
- noImplicitAnyLet
- noInvalidNewBuiltin
- noRedundantUseStrict
- noRenderReturnValue
- noShoutyConstants
- noSuspiciousSemicolonInJsx
- noSvgWithoutTitle
- noUnnecessaryContinue
- noUnusedFunctionParameters
- noUnusedTemplateLiteral
- noUselessStringRaw
- noValueAtRule
- noVoidTypeReturn
- useImportExtensions
- useNodeAssertStrict
- useShorthandArrayType
- useSimpleNumberKeys
- useSimplifiedLogicExpression
- useSingleCaseStatement
- useSortedClasses
- useStrictMode
- useTopLevelRegex
Rules from other sources
Section titled Rules from other sources@mysticatea/eslint-plugin
Section titled @mysticatea/eslint-plugin@mysticatea/eslint-plugin rule name | Biome rule name |
---|---|
no-this-in-static | noThisInStatic (inspired) |
@next/eslint-plugin-next
Section titled @next/eslint-plugin-next@next/eslint-plugin-next rule name | Biome rule name |
---|---|
google-font-display | useGoogleFontDisplay |
no-document-import-in-page | noDocumentImportInPage |
no-head-element | noHeadElement |
no-head-import-in-document | noHeadImportInDocument |
no-img-element | noImgElement |
Clippy
Section titled ClippyESLint
Section titled ESLintGraphQL-ESLint
Section titled GraphQL-ESLintGraphQL-ESLint rule name | Biome rule name |
---|---|
no-duplicate-fields | noDuplicatedFields |
require-deprecation-reason | useDeprecatedReason |
Stylelint
Section titled Stylelinteslint-plugin-barrel-files
Section titled eslint-plugin-barrel-fileseslint-plugin-barrel-files rule name | Biome rule name |
---|---|
avoid-barrel-files | noBarrelFile (inspired) |
avoid-namespace-import | noNamespaceImport |
avoid-re-export-all | noReExportAll |
eslint-plugin-import
Section titled eslint-plugin-importeslint-plugin-import rule name | Biome rule name |
---|---|
no-commonjs | noCommonJs (inspired) |
no-default-export | noDefaultExport |
no-extraneous-dependencies | noUndeclaredDependencies |
no-nodejs-modules | noNodejsModules |
eslint-plugin-import-access
Section titled eslint-plugin-import-accesseslint-plugin-import-access rule name | Biome rule name |
---|---|
eslint-plugin-import-access | useImportRestrictions (inspired) |
eslint-plugin-jest
Section titled eslint-plugin-jesteslint-plugin-jest rule name | Biome rule name |
---|---|
max-nested-describe | noExcessiveNestedTestSuites |
no-disabled-tests | noSkippedTests (inspired) |
no-done-callback | noDoneCallback (inspired) |
no-duplicate-hooks | noDuplicateTestHooks (inspired) |
no-export | noExportsInTest (inspired) |
no-focused-tests | noFocusedTests (inspired) |
no-standalone-expect | noMisplacedAssertion (inspired) |
eslint-plugin-jsx-a11y
Section titled eslint-plugin-jsx-a11yeslint-plugin-n
Section titled eslint-plugin-neslint-plugin-n rule name | Biome rule name |
---|---|
no-process-env | noProcessEnv (inspired) |
eslint-plugin-no-secrets
Section titled eslint-plugin-no-secretseslint-plugin-no-secrets rule name | Biome rule name |
---|---|
no-secrets | noSecrets (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-react-refresh
Section titled eslint-plugin-react-refresheslint-plugin-react-refresh rule name | Biome rule name |
---|---|
only-export-components | useComponentExportOnlyModules (inspired) |
eslint-plugin-solid
Section titled eslint-plugin-solideslint-plugin-solid rule name | Biome rule name |
---|---|
no-react-specific-props | noReactSpecificProps (inspired) |
eslint-plugin-sonarjs
Section titled eslint-plugin-sonarjseslint-plugin-sonarjs rule name | Biome rule name |
---|---|
cognitive-complexity | noExcessiveCognitiveComplexity (inspired) |
prefer-while | useWhile |
eslint-plugin-stylistic
Section titled eslint-plugin-stylisticeslint-plugin-stylistic rule name | Biome rule name |
---|---|
jsx-self-closing-comp | useSelfClosingElements (inspired) |
eslint-plugin-unicorn
Section titled eslint-plugin-unicorneslint-plugin-unused-imports
Section titled eslint-plugin-unused-importseslint-plugin-unused-imports rule name | Biome rule name |
---|---|
no-unused-imports | noUnusedImports (inspired) |
no-unused-vars | noUnusedVariables |