Skip to content

Do not force "operator-assignment" syntax #24

Open
@okovpashko

Description

@okovpashko

I'd suggest updating the "operator-assignment" rule not to force using of the += operator. It is no more than a personal preference and we should not force using a particular syntax.

Example

let accumulator = '';

accumulator = accumulator + 'some value'; // error: Assignment (=) can be replaced with operator assignment (+=)

Actual result: linting error
Expected result: no lining errors

Metadata

Metadata

Assignees

Labels

3.0.0Issues related to v3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions