We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5df0916 commit 0abc189Copy full SHA for 0abc189
tools/tslint-rules/rxjsImportsRule.ts
tslint.json
@@ -114,7 +114,6 @@
114
"no-undecorated-class-with-ng-fields": true,
115
"setters-after-getters": true,
116
"ng-on-changes-property-access": true,
117
- "rxjs-imports": true,
118
"require-breaking-change-version": true,
119
"class-list-signatures": true,
120
"coercion-types": [true,
@@ -181,7 +180,9 @@
181
180
"\\w+Rule.ts": "camel-case",
182
".*": "kebab-case"
183
}],
184
- "no-unescaped-html-tag": true
+ "no-unescaped-html-tag": true,
+ // Ensures that all rxjs imports come only from `rxjs` and `rxjs/operators`.
185
+ "import-blacklist": [true, ["^rxjs(?!$|/operators$).*"]]
186
},
187
"linterOptions": {
188
"exclude": [
0 commit comments