规则来源
Biome 专属规则
Section titled Biome 专属规则¥Biome exclusive rules
来自其他来源的规则
Section titled 来自其他来源的规则¥Rules from other sources
@mysticatea/eslint-plugin
Section titled @mysticatea/eslint-plugin@mysticatea/eslint-plugin rule name | Biome 规则名称 |
---|---|
no-this-in-static | noThisInStatic(受启发) |
Clippy
Section titled ClippyESLint
Section titled ESLintGraphQL-ESLint
Section titled GraphQL-ESLintGraphQL-ESLint 规则名称 | Biome 规则名称 |
---|---|
no-duplicate-fields | noDuplicatedFields |
require-deprecation-reason | useDeprecatedReason |
Stylelint
Section titled Stylelinteslint-plugin-barrel-files
Section titled eslint-plugin-barrel-fileseslint-plugin-barrel-files 规则名称 | Biome 规则名称 |
---|---|
avoid-barrel-files | noBarrelFile(受启发) |
avoid-namespace-import | noNamespaceImport |
avoid-re-export-all | noReExportAll |
eslint-plugin-import
Section titled eslint-plugin-importeslint-plugin-import 规则名称 | Biome 规则名称 |
---|---|
no-commonjs | noCommonJs(受启发) |
no-default-export | noDefaultExport |
no-nodejs-modules | noNodejsModules |
eslint-plugin-import-access
Section titled eslint-plugin-import-accesseslint-plugin-import-access 规则名称 | Biome 规则名称 |
---|---|
eslint-plugin-import-access | useImportRestrictions(受启发) |
eslint-plugin-jest
Section titled eslint-plugin-jesteslint-plugin-jest 规则名称 | Biome 规则名称 |
---|---|
max-nested-describe | noExcessiveNestedTestSuites |
no-disabled-tests | noSkippedTests(受启发) |
no-done-callback | noDoneCallback(受启发) |
no-duplicate-hooks | noDuplicateTestHooks(受启发) |
no-export | noExportsInTest(受启发) |
no-focused-tests | noFocusedTests(受启发) |
no-standalone-expect | noMisplacedAssertion(受启发) |
eslint-plugin-jsx-a11y
Section titled eslint-plugin-jsx-a11yeslint-plugin-react
Section titled eslint-plugin-reacteslint-plugin-react-hooks
Section titled eslint-plugin-react-hookseslint-plugin-react-hooks 规则名称 | Biome 规则名称 |
---|---|
exhaustive-deps | useExhaustiveDependencies(受启发) |
rules-of-hooks | useHookAtTopLevel |
eslint-plugin-solid
Section titled eslint-plugin-solideslint-plugin-solid 规则名称 | Biome 规则名称 |
---|---|
no-react-specific-props | noReactSpecificProps(受启发) |
eslint-plugin-sonarjs
Section titled eslint-plugin-sonarjseslint-plugin-sonarjs 规则名称 | Biome 规则名称 |
---|---|
cognitive-complexity | noExcessiveCognitiveComplexity(受启发) |
prefer-while | useWhile |
eslint-plugin-stylistic
Section titled eslint-plugin-stylisticeslint-plugin-stylistic 规则名称 | Biome 规则名称 |
---|---|
jsx-self-closing-comp | useSelfClosingElements(受启发) |
eslint-plugin-unicorn
Section titled eslint-plugin-unicorneslint-plugin-unused-imports
Section titled eslint-plugin-unused-importseslint-plugin-unused-imports 规则名称 == | Biome 规则名称 |
---|---|
no-unused-imports | noUnusedImports(受启发) |
no-unused-vars | noUnusedVariables |