Skip to content

boiyama/tslint-no-return

Repository files navigation

tslint-no-return

npm Build Status Greenkeeper badge

TSLint plugin to disable return statement

Installation

You'll first need to install TSLint:

$ npm i tslint --save-dev

Next, install tslint-no-return:

$ npm install tslint-no-return --save-dev

Note: If you installed TSLint globally (using the -g flag) then you must also install tslint-no-return globally.

Usage

Add no-return to your tslint.json configuration file:

{
  "extends": ["tslint-no-return"]
}

Supported Rule

About

TSLint rule to disallow return statement

Resources

License

Stars

Watchers

Forks

Packages

No packages published