|
27 | 27 | "no-shadowed-variable": true, |
28 | 28 | "no-unused-expression": true, |
29 | 29 | "no-var-keyword": true, |
30 | | - "no-exposed-todo": true, |
31 | 30 | "member-access": [true, "no-public"], |
32 | 31 | "no-debugger": true, |
33 | 32 | "no-unused-variable": [true, {"ignore-pattern": "^_"}], |
34 | | - "no-rxjs-patch-imports": [ |
35 | | - true, |
36 | | - "src/+(lib|cdk)/**/*.ts" |
37 | | - ], |
38 | | - "missing-rollup-globals": [ |
39 | | - true, |
40 | | - "./tools/package-tools/rollup-globals.ts", |
41 | | - "src/+(lib|cdk|material-examples)/**/*.ts" |
42 | | - ], |
43 | 33 | "one-line": [ |
44 | 34 | true, |
45 | 35 | "check-catch", |
|
79 | 69 | "check-type", |
80 | 70 | "check-preblock" |
81 | 71 | ], |
82 | | - "no-view-encapsulation": [ |
83 | | - true, |
84 | | - "(lib|cdk)\/((?!spec.ts).)*.ts$" |
85 | | - ], |
86 | 72 | // Bans jasmine helper functions that will prevent the CI from properly running tests. |
87 | 73 | "ban": [ |
88 | 74 | true, |
|
97 | 83 | "import-blacklist": [true, "rxjs"], |
98 | 84 | // Avoids inconsistent linebreak styles in source files. Forces developers to use LF linebreaks. |
99 | 85 | "linebreak-style": [true, "LF"], |
100 | | - "require-license-banner": [true, "src/+(lib|cdk)/**/!(*.spec).ts"] |
| 86 | + |
| 87 | + // Custom Rules |
| 88 | + |
| 89 | + "no-exposed-todo": true, |
| 90 | + "no-view-encapsulation": [ |
| 91 | + true, |
| 92 | + "src/+(lib|cdk)/**/!(*.spec).ts" |
| 93 | + ], |
| 94 | + "require-license-banner": [ |
| 95 | + true, |
| 96 | + "src/+(lib|cdk)/**/!(*.spec).ts" |
| 97 | + ], |
| 98 | + "no-rxjs-patch-imports": [ |
| 99 | + true, |
| 100 | + "src/+(lib|cdk)/**/*.ts" |
| 101 | + ], |
| 102 | + "missing-rollup-globals": [ |
| 103 | + true, |
| 104 | + "./tools/package-tools/rollup-globals.ts", |
| 105 | + "src/+(lib|cdk|material-examples)/**/*.ts" |
| 106 | + ] |
101 | 107 | } |
102 | 108 | } |
0 commit comments