tslint-no-restricted-modules

1.0.0 • Public • Published

tslint-no-restricted-modules

This is Rule for TSLint like no-restricted-modules in ESLint.

Usage

install from npm

$ npm install -D tslint-no-restricted-modules

Configure on your tslint.json

{
    "rulesDirectory": [
        "node_modules/tslint-no-restricted-modules/dist"
   ],
   "rules": {
       "no-restricted-modules": [true, "module-a", "module-b"]
   }
}

Readme

Keywords

Package Sidebar

Install

npm i tslint-no-restricted-modules

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

9.11 kB

Total Files

5

Last publish

Collaborators

  • pastak