Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么某些规则(如 max-params 和 max-statements)在http://eslint.org/docs/rules/中被归类为“遗留” 。它们会被弃用吗?他们会改变吗?
不,ESLint 很早就想与 JSHint/JSLint 实现功能对等。大多数遗留规则仅存在于 JSLint 中而不存在于 JSHint 中,这就是它们被标记为遗留规则的原因(JSLint 比 JSHint 更早)。