Skip to content

Commit

Permalink
build: remove custom rxjs imports rule in favor of import-banlist rule (
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion authored and yifange committed Jan 30, 2020
1 parent c4392c9 commit 67bbde3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
23 changes: 0 additions & 23 deletions tools/tslint-rules/rxjsImportsRule.ts

This file was deleted.

5 changes: 3 additions & 2 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"no-undecorated-class-with-ng-fields": true,
"setters-after-getters": true,
"ng-on-changes-property-access": true,
"rxjs-imports": true,
"require-breaking-change-version": true,
"class-list-signatures": true,
"coercion-types": [true,
Expand Down Expand Up @@ -182,7 +181,9 @@
".*": "kebab-case"
}],
"no-unescaped-html-tag": true,
"import-blacklist": [true, ["^@schematics/angular/.*(ast).*"]]
// Ensures that all rxjs imports come only from `rxjs` and `rxjs/operators`. Also ensures
// that no AST utils from `@schematics/angular` are imported. These should be vendored.
"import-blacklist": [true, ["^@schematics/angular/.*(ast).*", "^rxjs(?!$|/operators$).*"]]
},
"linterOptions": {
"exclude": [
Expand Down

0 comments on commit 67bbde3

Please sign in to comment.