Skip to content

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Jun 18, 2018

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

@alan-agius4 alan-agius4 changed the title fix(@schematics/angular): add no-redundant-jsdoc tslint rule feat(@schematics/angular): add no-redundant-jsdoc tslint rule Jun 18, 2018
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
@alan-agius4
Copy link
Collaborator Author

//cc @clydin

@clydin
Copy link
Member

clydin commented Jun 29, 2018

Looks good. Features are blocked until the 6.2 window is open.

@alan-agius4
Copy link
Collaborator Author

@clydin I think we can merge this one now.

@Rassl
Copy link

Rassl commented Aug 8, 2018

@clydin can you tell if this PR is gonna be merged?

@alexeagle alexeagle merged commit 9aadb8e into angular:master Aug 13, 2018
@alan-agius4 alan-agius4 deleted the feature/lint-rule-ts branch August 14, 2018 03:39
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

warning TS0: @interface annotations are redundant with TypeScript equivalents
5 participants