Categories:

❌

🔧  Fix

💡  Suggestions

semi-spacing  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

semi-style  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

space-before-blocks  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

space-before-function-paren  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

space-in-parens  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

space-infix-ops  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

space-unary-ops  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

spaced-comment  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

switch-colon-spacing  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

template-curly-spacing  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

template-tag-spacing  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

wrap-iife  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

wrap-regex  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

yield-star-spacing  deprecated

Categories:

❌

🔧  Fix

💡  Suggestions

##  Removed

These rules from older versions of ESLint (before the [ deprecation policy
](/docs/latest/use/rule-deprecation) existed) have been replaced by newer
rules:

generator-star  removed

Replaced by [ ` generator-star-spacing ` ](/docs/latest/rules/generator-star-
spacing)

global-strict  removed

Replaced by [ ` strict ` ](/docs/latest/rules/strict)

no-arrow-condition  removed

Replaced by [ ` no-confusing-arrow ` ](/docs/latest/rules/no-confusing-arrow)
[ ` no-constant-condition ` ](/docs/latest/rules/no-constant-condition)

no-comma-dangle  removed

Replaced by [ ` comma-dangle ` ](/docs/latest/rules/comma-dangle)

no-empty-class  removed

Replaced by [ ` no-empty-character-class ` ](/docs/latest/rules/no-empty-
character-class)

no-empty-label  removed

Replaced by [ ` no-labels ` ](/docs/latest/rules/no-labels)

no-extra-strict  removed

Replaced by [ ` strict ` ](/docs/latest/rules/strict)

no-reserved-keys  removed

Replaced by [ ` quote-props ` ](/docs/latest/rules/quote-props)

no-space-before-semi  removed

Replaced by [ ` semi-spacing ` ](/docs/latest/rules/semi-spacing)

no-wrap-func  removed

Replaced by [ ` no-extra-parens ` ](/docs/latest/rules/no-extra-parens)

space-after-function-name  removed

Replaced by [ ` space-before-function-paren ` ](/docs/latest/rules/space-
before-function-paren)

space-after-keywords  removed

Replaced by [ ` keyword-spacing ` ](/docs/latest/rules/keyword-spacing)

space-before-function-parentheses  removed

Replaced by [ ` space-before-function-paren ` ](/docs/latest/rules/space-
before-function-paren)

space-before-keywords  removed

Replaced by [ ` keyword-spacing ` ](/docs/latest/rules/keyword-spacing)

space-in-brackets  removed

Replaced by [ ` object-curly-spacing ` ](/docs/latest/rules/object-curly-
spacing) [ ` array-bracket-spacing ` ](/docs/latest/rules/array-bracket-
spacing)

space-return-throw-case  removed

Replaced by [ ` keyword-spacing ` ](/docs/latest/rules/keyword-spacing)

space-unary-word-ops  removed

Replaced by [ ` space-unary-ops ` ](/docs/latest/rules/space-unary-ops)

spaced-line-comment  removed

Replaced by [ ` spaced-comment ` ](/docs/latest/rules/spaced-comment)

valid-jsdoc  removed

Replaced by

require-jsdoc  removed

Replaced by

[ Edit this page ](

                
                    https://github.com/eslint/eslint/edit/main/docs/./src/pages/rules.md
                
                )

##  Table of Contents

  1. Possible Problems 
  2. Suggestions 
  3. Layout & Formatting 
  4. Deprecated 
  5. Removed 

##  Social Media

  * [ ](https://twitter.com/geteslint)
  * [ ](https://github.com/eslint/eslint)
  * [ ](https://eslint.org/chat)
  * [ ](https://fosstodon.org/@eslint)

© OpenJS Foundation and ESLint contributors, [ www.openjsf.org
](https://www.openjsf.org) . Content licensed under [ MIT License
](https://github.com/eslint/eslint/blob/main/LICENSE) .

##  Theme Switcher

Light  Dark

[ Change Language ](/languages/)

Langua