Skip to content

Conversation

Marcys
Copy link

@Marcys Marcys commented Sep 27, 2023

Since ESLint v8.50.0 no-new-object is replaced by the no-object-constructor rule. (https://eslint.org/docs/latest/rules/no-new-object)

Since  ESLint v8.50.0 no-new-object is replaced by the no-object-constructor rule. (https://eslint.org/docs/latest/rules/no-new-object)
- [3.1](#objects--no-new) Use the literal syntax for object creation. eslint: [`no-new-object`](https://eslint.org/docs/rules/no-new-object)
- [3.1](#objects--no-new) Use the literal syntax for object creation. eslint: [`no-object-constructor`](https://eslint.org/docs/latest/rules/no-object-constructor)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep linking to both rules, since this config still uses no-new-object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants