Skip to content

Relax no-unused-expressions eslint rule #722

Closed
@cannona

Description

@cannona

Currently I'm not able to do this.foo && this.foo(); without eslint complaining.

I propose that we adjust the no-unused-expressions rule options to accept ternary and short circuit expressions.

http://eslint.org/docs/rules/no-unused-expressions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions