Skip to content

Add check for operators usage #463

@fnaith

Description

@fnaith

It would be cool to add a rule which detect operators like > or ++

// Valid  
if ((5 < x && x < 10)) { ... 
x = x + 1  
++x   
// Invalid  
if ((x > 5 && 10 > x)) { ...  
x++  

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