tslint-no-restricted-modules
v1.0.0
Published
tslint rule for no-restricted-modules
Downloads
2
Readme
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"]
}
}