Skip to content

Latest commit

 

History

History
69 lines (35 loc) · 2.25 KB

deprecated-rules.md

File metadata and controls

69 lines (35 loc) · 2.25 KB

Deprecated Rules

import-index

This rule is outdated. JavaScript modules (ESM) do not support importing a directory.

no-array-instanceof

This rule was renamed to no-instanceof-array to be more correct.

no-fn-reference-in-iterator

This rule was renamed to no-array-callback-reference to avoid using the abbreviation fn in the name.

no-reduce

This rule was renamed to no-array-reduce to be more specific.

no-unsafe-regex

Removed due to bugs.

prefer-dataset

This rule was renamed to prefer-dom-node-dataset to be more specific.

prefer-event-key

This rule was renamed to prefer-keyboard-event-key to be more specific.

prefer-exponentiation-operator

This rule was deprecated in favor of the built-in ESLint prefer-exponentiation-operator rule.

prefer-flat-map

This rule was renamed to prefer-array-flat-map to be more specific.

prefer-node-append

This rule was renamed to prefer-dom-node-append to be less ambiguous.

prefer-node-remove

This rule was renamed to prefer-dom-node-remove to be less ambiguous.

prefer-object-has-own

This rule was deprecated in favor of the built-in ESLint prefer-object-has-own rule.

prefer-replace-all

This rule was renamed to prefer-string-replace-all to be more specific.

prefer-starts-ends-with

This rule was renamed to prefer-string-starts-ends-with to be more specific.

prefer-text-content

This rule was renamed to prefer-dom-node-text-content to be more specific.

prefer-trim-start-end

This rule was renamed to prefer-string-trim-start-end to be more specific.

regex-shorthand

This rule was renamed to better-regex as it does more than just preferring the shorthand.