TODO:

  • rename the plugin (find a name that makes more sense)
  • account for nested do statements
  • Update the readme

eslint-plugin-no-do-expression

no do expression

Installation

$ npm install 

Usage

Add no-do-expression to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "no-do-expression"
    ]
}