accessor-pairs | 支持 setWithoutGet、getWithoutSet 和 enforceForClassMembers 配置 |
array-callback-return | 已实现可选的 allowImplicit、checkForEach 和 allowVoid 行为 |
arrow-body-style | 支持 always、as-needed、never 和 requireReturnForObjectLiteral,并提供对注释、优先级和 ASI 安全的自动修复 |
block-scoped-var | 已实现 |
camelcase | 支持声明、导入、可选属性检查、ignoreDestructuring、ignoreImports、轻量级 allow 模式,并会解析 ignoreGlobals 以兼容迁移 |
capitalized-comments | 支持 always、never、ignoreInlineComments 和 ignoreConsecutiveComments 配置,并支持自动修复 |
class-methods-use-this | 支持方法、访问器、以函数为值的类字段,以及 exceptMethods、enforceForClassFields、ignoreOverrideMethods 和 ignoreClassesWithImplements 配置 |
complexity | 支持 max、已弃用的 maximum、classic 和 modified 变体,以及函数、箭头函数和静态块 |
consistent-return | 已实现对显式返回值与空返回混用,以及可能执行到底部的值返回函数的检查 |
consistent-this | 支持为直接捕获 this 配置别名,并检查同一作用域内的延迟赋值 |
constructor-super | 已实现 |
curly | 支持 all、multi-line、multi 和 multi-or-nest 配置;可在保留注释的同时稳定地自动添加或删除代码块,并拒绝存在 ASI 或悬空 else 风险的修复 |
default-case | 已实现常见的 commentPattern 行为 |
default-case-last | 已实现 |
default-param-last | 已实现 |
dot-notation | 支持自动修复、allowKeywords 及常见的 allowPattern 配置 |
eol-last | 支持 always、never、unix 和 windows 配置,并支持自动修复 |
eqeqeq | 支持 always、allow-null、smart 及 null: always/ignore/never 配置,并提供安全的自动修复 |
for-direction | 已实现 |
func-name-matching | 支持 always、never、includeCommonJSModuleExports 和 considerPropertyDescriptor 配置 |
func-names | 支持 always、as-needed、never 和 generators 配置 |
func-style | 支持声明式和表达式式风格、allowArrowFunctions 以及 overrides.namedExports |
getter-return | 支持可选的 allowImplicit 行为 |
grouped-accessor-pairs | 已实现 anyOrder、getBeforeSet 和 setBeforeGet 选项 |
guard-for-in | 已实现 |
id-denylist | 支持配置受限标识符、私有标识符、成员写入检查,并跳过已重命名的导入和导出 |
id-length | 对绑定、导入、函数及类/对象属性支持 min、max、exceptions、常见 exceptionPatterns 和 properties |
id-match | 支持对声明和导入别名进行轻量级模式匹配,并支持 properties、classFields、onlyDeclarations 和 ignoreDestructuring 配置 |
init-declarations | 支持 always、never 和 ignoreForLoopInit |
linebreak-style | 支持 unix 和 windows 配置,并支持自动修复 |
logical-assignment-operators | 已实现 always、可选的 never 及可选的 enforceForIfStatements: true 行为,并提供对注释、优先级和求值安全的自动修复 |
max-classes-per-file | 支持 max 和 ignoreExpressions 配置 |
max-depth | 支持 max、已弃用的 maximum、函数作用域、静态块和 else if 链 |
max-lines | 支持 max、skipBlankLines 和 skipComments 配置 |
max-lines-per-function | 支持统计函数和箭头函数的行数,以及 max、skipBlankLines、skipComments 和 IIFEs 配置 |
max-nested-callbacks | 支持 max、已弃用的 maximum,以及调用参数中的回调检测 |
max-params | 支持 max、已弃用的 maximum 和 countThis 配置 |
max-statements | 支持 max、已弃用的 maximum、ignoreTopLevelFunctions 和静态块隔离 |
new-cap | 支持 newIsCap、capIsNew、properties、例外名称和例外模式 |
new-parens | 已实现,并提供对嵌套表达式安全的自动修复 |
no-alert | 已实现对全局 this、window 和 globalThis 的检测 |
no-array-constructor | 已实现保留参数且对 ASI 安全的自动修复 |
no-async-promise-executor | 已实现 |
no-await-in-loop | 已实现 |
no-bitwise | 已实现 |
no-buffer-constructor | 已实现 |
no-caller | 已实现 |
no-case-declarations | 已实现 |
no-class-assign | 已实现 |
no-confusing-arrow | 支持 allowParens,并可在允许括号时自动修复 |
no-comma-operator | 已实现 |
no-compare-neg-zero | 已实现 |
no-cond-assign | 已实现 |
no-console | 已实现,并通过 allow 支持配置允许的 console 方法 |
no-const-assign | 已实现 |
no-constant-binary-expression | 检测恒定的逻辑/空值短路、恒定的空值/布尔比较,以及新构造对象之间的比较 |
no-constant-condition | 已实现 |
no-constructor-return | 已实现 |
no-continue | 已实现 |
no-control-regex | 已实现 |
no-debugger | 已实现 |
no-delete-var | 已实现 |
no-div-regex | 已实现并支持自动修复 |
no-dupe-args | 已实现 |
no-dupe-class-members | 已实现 |
no-dupe-else-if | 已实现 |
no-dupe-keys | 已实现 |
no-duplicate-case | 已实现 |
no-duplicate-imports | 支持 allowSeparateTypeImports 和 includeExports 配置 |
no-else-return | 已实现 |
no-empty | 已实现可选的 allowEmptyCatch 行为 |
no-empty-block-statements | 已实现 |
no-empty-character-class | 已实现 |
no-empty-function | 已实现函数、箭头函数、异步/生成器函数、方法、异步/生成器方法、getter、setter 和构造函数的 allow 行为 |
no-empty-pattern | 已实现可选的 allowObjectPatternsAsParameters 行为 |
no-empty-static-block | 已实现 |
no-eq-null | 已实现 |
no-eval | 支持 allowIndirect 配置 |
no-ex-assign | 已实现 |
no-extend-native | 支持 exceptions 配置 |
no-extra-bind | 已实现对副作用和注释安全的自动修复 |
no-extra-boolean-cast | 支持安全自动修复、enforceForInnerExpressions 及旧版 enforceForLogicalOperands 配置 |
no-extra-label | 已实现多轮自动修复,可移除冗余引用和标签声明 |
no-extra-semi | 已实现并支持自动修复 |
no-fallthrough | 支持 allowEmptyCase、常见 commentPattern 和 reportUnusedFallthroughComment 配置 |
no-floating-decimal | 已实现对 token 安全的自动修复 |
no-for-in | 已实现 |
no-func-assign | 已实现 |
no-global-assign | 支持 exceptions 配置和 languageOptions.globals(readonly 会报告写入,writable 允许写入) |
no-global-is-finite | 已实现 |
no-global-is-nan | 已实现 |
no-implicit-coercion | 支持 boolean、number、string、allow 和 disallowTemplateShorthand 配置 |
no-implicit-globals | 支持检查脚本顶层的 var/函数,以及可选的 lexicalBindings 检查 |
no-implied-eval | 已实现对使用求值字符串参数的全局定时器及 execScript 调用的检查 |
no-import-assign | 已实现 |
no-inline-comments | 支持 ignorePattern 配置及常见的类正则模式 |
no-inner-declarations | 支持默认的 functions 模式,以及检查嵌套 var 声明的 both 模式 |
no-invalid-regexp | 已实现可选的 allowConstructorFlags 行为 |
no-invalid-this | 支持严格模式函数、模块、构造函数、显式绑定的回调、类字段和静态块、TypeScript this 参数、JSDoc @this 以及 capIsConstructor |
no-irregular-whitespace | 已实现 |
no-iterator | 已实现 |
no-label-var | 已实现 |
no-labels | 已实现 |
no-lone-blocks | 已实现,并对块级作用域绑定作例外处理 |
no-lonely-if | 已实现并支持安全自动修复 |
no-loop-func | 已实现 |
no-loss-of-precision | 已实现 |
no-magic-numbers | 支持 detectObjects、enforceConst、ignore、ignoreArrayIndexes、ignoreDefaultValues、ignoreClassFieldInitialValues、ignoreEnums、ignoreNumericLiteralTypes、ignoreReadonlyClassProperties 和 ignoreTypeIndexes 配置 |
no-mixed-spaces-and-tabs | 支持 smart-tabs 配置 |
no-misleading-character-class | 已实现 |
no-multi-assign | 支持 ignoreNonDeclaration 配置和类字段初始化器 |
no-multi-spaces | 支持 ignoreEOLComments 和常见 exceptions 配置,并支持自动修复 |
no-multi-str | 已实现 |
no-multiple-empty-lines | 已实现可选的 max、maxBOF 和 maxEOF 行为,并支持自动修复 |
no-negated-condition | 已实现 |
no-nested-ternary | 已实现 |
no-new | 已实现 |
no-new-func | 已实现 |
no-new-native-nonconstructor | 已实现 |
no-new-object | 已实现 |
no-new-require | 已实现 |
no-new-symbol | 已实现 |
no-new-wrappers | 已实现 |
no-nonoctal-decimal-escape | 已实现 |
no-obj-calls | 已实现 |
no-object-constructor | 已实现 |
no-octal | 已实现 |
no-octal-escape | 已实现 |
no-param-reassign | 已实现可选的 props、ignorePropertyModificationsFor 及常见 ignorePropertyModificationsForRegex 行为 |
no-path-concat | 已实现 |
no-plusplus | 已实现可选的 allowForLoopAfterthoughts 行为 |
no-process-env | 已实现 |
no-process-exit | 已实现 |
no-promise-executor-return | 支持 allowVoid 配置 |
no-proto | 已实现 |
no-prototype-builtins | 已实现 |
no-redeclare | 已实现,并针对 TypeScript 感知场景回退到 @typescript-eslint/no-redeclare |
no-restricted-exports | 支持 restrictedNamedExports 和 restrictDefaultExports |
no-restricted-globals | 支持直接限制全局变量、自定义消息,以及可选的全局对象检查 |
no-restricted-imports | 支持受限 paths、简单 patterns、自定义消息、导入名称允许/拒绝列表、仅类型例外及再导出检查 |
no-restricted-modules | 支持受限 CommonJS require() 来源、paths、简单 patterns、否定模式和自定义消息 |
no-restricted-properties | 支持对象/属性限制、解构,以及 allowObjects/allowProperties 配置 |
no-restricted-syntax | 支持带自定义消息的轻量级 AST 节点选择器限制 |
no-regex-spaces | 已实现对字面量及静态字符串构造器的安全自动修复 |
no-return-assign | 已实现 except-parens 和可选的 always 行为 |
no-return-await | 已实现对 return 语句、异步箭头函数表达式主体和嵌套尾部表达式的检查 |
no-script-url | 已实现 |
no-self-assign | 支持 props 配置 |
no-self-compare | 已实现 |
no-sequences | 已实现可选的 allowInParentheses 行为 |
no-setter-return | 已实现 |
no-shadow | 支持 allow、builtinGlobals、hoist 和 ignoreOnInitialization 配置 |
no-shadow-restricted-names | 已实现 |
no-sparse-arrays | 已实现 |
no-tabs | 支持 allowIndentationTabs 配置 |
no-template-curly-in-string | 已实现 |
no-ternary | 已实现 |
no-this-before-super | 已实现 |
no-throw-literal | 已实现 |
no-trailing-spaces | 支持 skipBlankLines 和 ignoreComments 配置,并支持自动修复 |
no-undef | 已实现;接受 languageOptions.globals 中声明的名称,并报告被设为 off 的全局变量 |
no-undef-init | 已实现对 let 绑定安全的自动修复 |
no-unassigned-vars | 报告已被读取但没有初始化器且从未赋值的 let/var 绑定 |
no-underscore-dangle | 支持 allow、allowAfterThis、allowAfterSuper、allowAfterThisConstructor、allowFunctionParams、allowInArrayDestructuring、allowInObjectDestructuring、enforceInMethodNames 和 enforceInClassFields 配置 |
no-undefined | 已实现对标识符引用和绑定名称的检查 |
no-unneeded-ternary | 支持 defaultAssignment,并提供对优先级、副作用和注释安全的自动修复 |
no-unexpected-multiline | 报告容易混淆的多行调用、计算属性访问、标签模板以及看似正则表达式的除法链 |
no-unmodified-loop-condition | 已实现 |
no-unreachable | 已实现,并处理提升声明 |
no-unreachable-loop | 支持循环体退出检测和 ignore 配置 |
no-unsafe-finally | 已实现,并处理局部循环、switch 和标签退出 |
no-unsafe-negation | 支持 enforceForOrderingRelations 配置 |
no-unsafe-optional-chaining | 已实现对不安全成员访问、调用、构造器、标签模板、展开、迭代、解构、二元对象操作、with、类 extends 的检查,以及可选的 disallowArithmeticOperators 行为 |
no-unused-private-class-members | 已实现对私有字段、方法、访问器和静态块的检查 |
no-use-before-define | 支持 functions、classes、variables 和 allowNamedExports 配置 |
no-unused-expressions | 已实现可选的 allowShortCircuit、allowTernary 和 allowTaggedTemplates 行为 |
no-unused-labels | 已实现嵌套标签遮蔽检查,并支持自动修复 |
no-unused-vars | 支持 vars、args、caughtErrors、ignoreRestSiblings、ignoreClassWithStaticInitBlock、ignoreUsingDeclarations、reportUsedIgnorePattern,以及常见的 argsIgnorePattern/caughtErrorsIgnorePattern/destructuredArrayIgnorePattern/varsIgnorePattern 配置 |
no-useless-assignment | 实现了可感知控制流的无用赋值分析 |
no-useless-backreference | 检测正则字面量和静态 RegExp 构造器中的嵌套、前向、分支及负向环视反向引用 |
no-useless-call | 已实现 |
no-useless-catch | 已实现 |
no-useless-computed-key | 已实现可选的 enforceForClassMembers 行为,并支持自动修复 |
no-useless-concat | 已实现对连接链中相邻静态字符串和模板字面量的检查 |
no-useless-constructor | 已实现 |
no-useless-escape | 支持 allowRegexCharacters 配置及 ESLint 模板转义处理 |
no-useless-rename | 支持自动修复,以及 ignoreDestructuring、ignoreImport 和 ignoreExport 配置 |
no-useless-return | 已实现对语句列表中 return 语句的注释安全自动修复 |
no-var | 已实现作用域安全的 var 到 let 自动修复;多轮修复随后可应用 prefer-const |
no-void | 已实现可选的 allowAsStatement 行为 |
no-warning-comments | 已实现可配置的 terms、location 和常见 decoration 行为 |
no-with | 已实现 |
object-shorthand | 支持 always、methods、properties、never、avoidQuotes、ignoreConstructors 和 avoidExplicitReturnArrows 配置,并提供对注释和语义安全的自动修复 |
one-var | 支持字符串形式的 never,以及按类型设置 var/let/const 的 never 配置,并提供对注释和上下文安全的自动修复 |
operator-assignment | 支持 always 和 never 模式,并提供安全自动修复 |
prefer-arrow-callback | 支持回调函数表达式,以及 allowNamedFunctions 和 allowUnboundThis 配置;当参数、注释和词法绑定均安全时,可自动修复匿名同步回调 |
prefer-const | 支持 destructuring 和 ignoreReadBeforeAssign 配置;仅当每个绑定都能安全改为 const 时,才会自动修复 let 声明 |
prefer-destructuring | 支持对象/数组变量声明器和赋值表达式配置,以及 enforceForRenamedProperties;当可保留注释时,会自动修复简单的同名对象属性声明 |
prefer-exponentiation-operator | 已实现并支持安全自动修复 |
prefer-named-capture-group | 检测正则字面量和静态 RegExp 构造器中的未命名捕获组 |
prefer-numeric-literals | 已实现对全局静态字符串和模板形式 parseInt 调用的自动修复,支持二进制、八进制或十六进制基数 |
prefer-object-has-own | 已实现并支持自动修复 |
prefer-object-spread | 对以新对象字面量为目标的全局 Object.assign 调用支持访问器安全、保留注释的自动修复,包括单参数调用 |
prefer-promise-reject-errors | 支持 allowEmptyReject 配置 |
preserve-caught-error | 报告 catch 块中重新抛出的内置错误:其省略或替换了捕获错误的 cause;支持 requireCatchParameter |
prefer-regex-literals | 支持 disallowRedundantWrapping 配置 |
prefer-rest-params | 已实现 |
prefer-spread | 已实现 |
prefer-template | 已实现 |
radix | 已实现 |
require-await | 已实现 |
require-atomic-updates | 支持 allowProperties 配置 |
require-unicode-regexp | 支持正则字面量、静态 RegExp 构造器和 requireFlag 配置 |
require-yield | 已实现 |
sort-imports | 支持声明/成员排序、ignoreCase、ignoreDeclarationSort、ignoreMemberSort、allowSeparatedGroups、memberSyntaxSortOrder,以及对注释安全的具名成员自动修复 |
sort-keys | 支持对象字面量键排序,以及 asc/desc、caseSensitive、natural、minKeys 和 allowLineSeparatedGroups |
sort-vars | 支持同一声明内的标识符排序、ignoreCase,以及对字面量初始化器保持格式的自动修复 |
spaced-comment | 支持 always、never、markers 和 exceptions 配置,并提供安全自动修复 |
strict | 支持 safe、global、function 和 never 模式,并可自动修复冗余指令 |
symbol-description | 已实现 |
unicode-bom | 支持 never 和 always 配置,并支持自动修复 |
use-isnan | 支持 enforceForIndexOf 和 enforceForSwitchCase 配置 |
valid-typeof | 支持 requireStringLiterals 配置 |
vars-on-top | 已实现 |
wrap-iife | 已实现 outside、inside 和 any 选项,并支持自动修复 |
yoda | 支持 never、always、onlyEquality 和 exceptRange 配置,并提供对注释和 token 安全的自动修复 |