Skip to content

Removes parentheses in expressions with mixed operators #187

@yenbekbay

Description

@yenbekbay

Before:

const foo = (a && b) || c || d;

After:

const foo = a && b || c || d;

The same goes for arithmetic and bitwise operators.

Relevant ESLint rule: http://eslint.org/docs/rules/no-mixed-operators.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions