Skip to content

📎 Implement eslint/prefer-object-spread #4319

@Conaclos

Description

@Conaclos

Description

Implement eslint/prefer-object-spread.

Want to contribute? Lets you know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.

See also the related discussion.

Note: we have to decide if we name the rule noObjectAssign or useObjectSpread.
noObjectAssign could mean banning all calls to Object.assign (that is not intended by the rule we want to implement). Unfortunately, useObjectSpread could (should?) cover more cases - not sure the ones it could cover.

Metadata

Metadata

Assignees

Labels

A-LinterArea: linterL-JavaScriptLanguage: JavaScript and super languages

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions