规则来源
Biome 专属规则
Section titled “Biome 专属规则”¥Biome exclusive rules
来自其他来源的规则
Section titled “来自其他来源的规则”¥Rules from other sources
@eslint-react/eslint-plugin
Section titled “@eslint-react/eslint-plugin”@mysticatea/eslint-plugin
Section titled “@mysticatea/eslint-plugin”| @mysticatea/eslint-plugin Rules name | 生物群系规则名称 |
|---|---|
| no-this-in-static | noThisInStatic |
@next/eslint-plugin-next
Section titled “@next/eslint-plugin-next”@stylistic/eslint-plugin
Section titled “@stylistic/eslint-plugin”| @stylistic/eslint-plugin Rules name | 生物群系规则名称 |
|---|---|
| jsx-self-closing-comp | useSelfClosingElements |
@vitest/eslint-plugin
Section titled “@vitest/eslint-plugin”| @vitest/eslint-plugin Rules name | 生物群系规则名称 |
|---|---|
| max-nested-describe | noExcessiveNestedTestSuites |
| no-disabled-tests | noSkippedTests(受启发) |
| no-done-callback | noDoneCallback |
| no-duplicate-hooks | noDuplicateTestHooks(受启发) |
| no-focused-tests | noFocusedTests(受启发) |
| no-standalone-expect | noMisplacedAssertion(受启发) |
Clippy
Section titled “Clippy”Deno Lint
Section titled “Deno Lint”| Deno Lint 规则名称 | 生物群系规则名称 |
|---|---|
| no-process-global | noProcessGlobal |
ESLint
Section titled “ESLint”eslint-plugin-barrel-files
Section titled “eslint-plugin-barrel-files”| eslint-plugin-barrel-files 规则名称 | 生物群系规则名称 |
|---|---|
| avoid-barrel-files | noBarrelFile(受启发) |
| avoid-namespace-import | noNamespaceImport |
| avoid-re-export-all | noReExportAll |
eslint-plugin-import
Section titled “eslint-plugin-import”eslint-plugin-import-access
Section titled “eslint-plugin-import-access”| eslint-plugin-import-access 规则名称 | 生物群系规则名称 |
|---|---|
| eslint-plugin-import-access | noPrivateImports |
eslint-plugin-jest
Section titled “eslint-plugin-jest”eslint-plugin-jsdoc
Section titled “eslint-plugin-jsdoc”| eslint-plugin-jsdoc 规则名称 | 生物群系规则名称 |
|---|---|
| no-multi-asterisks | useSingleJsDocAsterisk |
eslint-plugin-jsx-a11y
Section titled “eslint-plugin-jsx-a11y”eslint-plugin-n
Section titled “eslint-plugin-n”| eslint-plugin-n 规则名称 | 生物群系规则名称 |
|---|---|
| no-process-env | noProcessEnv |
eslint-plugin-no-secrets
Section titled “eslint-plugin-no-secrets”| eslint-plugin-no-secrets 规则名称 | 生物群系规则名称 |
|---|---|
| no-secrets | noSecrets(受启发) |
eslint-plugin-qwik
Section titled “eslint-plugin-qwik”eslint-plugin-react
Section titled “eslint-plugin-react”eslint-plugin-react-hooks
Section titled “eslint-plugin-react-hooks”| eslint-plugin-react-hooks 规则名称 | 生物群系规则名称 |
|---|---|
| exhaustive-deps | useExhaustiveDependencies |
| react-compiler | noReactPropAssignments |
| rules-of-hooks | useHookAtTopLevel |
eslint-plugin-react-prefer-function-component
Section titled “eslint-plugin-react-prefer-function-component”| eslint-plugin-react-prefer-function-component 规则名称 | 生物群系规则名称 |
|---|---|
| react-prefer-function-component | useReactFunctionComponents |
eslint-plugin-react-refresh
Section titled “eslint-plugin-react-refresh”| eslint-plugin-react-refresh 规则名称 | 生物群系规则名称 |
|---|---|
| only-export-components | useComponentExportOnlyModules(受启发) |
eslint-plugin-react-x
Section titled “eslint-plugin-react-x”| eslint-plugin-react-x 规则名称 | 生物群系规则名称 |
|---|---|
| no-forward-ref | noReactForwardRef |
| no-nested-components | noNestedComponentDefinitions |
| no-useless-fragment | noUselessFragments |
eslint-plugin-regexp
Section titled “eslint-plugin-regexp”| eslint-plugin-regexp 规则名称 | 生物群系规则名称 |
|---|---|
| no-useless-backreference | noUselessRegexBackrefs |
| prefer-regexp-exec | useRegexpExec |
eslint-plugin-solid
Section titled “eslint-plugin-solid”| eslint-plugin-solid 规则名称 | 生物群系规则名称 |
|---|---|
| jsx-no-script-url | noScriptUrl |
| no-destructure | noSolidDestructuredProps(受启发) |
| no-react-specific-props | noReactSpecificProps |
| prefer-for | useSolidForComponent(受启发) |
eslint-plugin-sonarjs
Section titled “eslint-plugin-sonarjs”| eslint-plugin-sonarjs 规则名称 | 生物群系规则名称 |
|---|---|
| cognitive-complexity | noExcessiveCognitiveComplexity |
| prefer-while | useWhile |
eslint-plugin-turbo
Section titled “eslint-plugin-turbo”| eslint-plugin-turbo 规则名称 | 生物群系规则名称 |
|---|---|
| no-undeclared-env-vars | noUndeclaredEnvVars |
eslint-plugin-unicorn
Section titled “eslint-plugin-unicorn”eslint-plugin-unused-imports
Section titled “eslint-plugin-unused-imports”| eslint-plugin-unused-imports 规则名称 | 生物群系规则名称 |
|---|---|
| no-unused-imports | noUnusedImports |
| no-unused-vars | noUnusedVariables |
eslint-plugin-vue
Section titled “eslint-plugin-vue”typescript-eslint
Section titled “typescript-eslint”缺少规则?请通过 contributing 至 analyzer 或创建规则建议 此处 来帮助我们。
¥Missing a rule? Help us by contributing to the analyzer or create a rule suggestion here.
Biome v2.1 中文网 - 粤ICP备13048890号