Skip to content

Commit 9aadb8e

Browse files
alan-agius4alexeagle
authored andcommitted
feat(@schematics/angular): add no-redundant-jsdoc tslint rule
When building a library, `tsickle` is used as the `annotateForClosureCompiler` option is `true`. `tsickle` warns when redundant jsdocs are used. https://github.com/angular/tsickle/blob/d24b139b71a3f86bf25d6eecf4d4dcdad3b379e4/src/jsdoc.ts#L170-L178 These diagnostics are later passed to Angular Compiler and are treated as errors. Seeing this: angular/angular#19969 (comment) it looks like it is expected that warnings will fail the build. Closes: #11282
1 parent cd8801c commit 9aadb8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/schematics/angular/workspace/files/tslint.json

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
],
6666
"no-misused-new": true,
6767
"no-non-null-assertion": true,
68+
"no-redundant-jsdoc": true,
6869
"no-shadowed-variable": true,
6970
"no-string-literal": false,
7071
"no-string-throw": true,

0 commit comments

Comments
 (0)