0.1.1 • Published 7 years ago

tslint-noif v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

tslint-noif Build Status

NPM

A tslint rule extension to prohibit the usage of conditional statements such as if or switch. It's a bit radical I guess :)

Usage

npm install tslint-noif --save-dev

Use the desired rules in your tslint.json:

{
  "extends": ["tslint:recommended", "tslint-noif"],
  "rules": {
    "no-if": true,
    "no-static": true,
    "no-switch": true
  }
}

Test

Run npm test

Todos

See Issues

References

0.1.1

7 years ago

0.1.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago