rxjs-tslint icon indicating copy to clipboard operation
rxjs-tslint copied to clipboard

Add support for tslint 6.x

Open rooby opened this issue 5 years ago • 4 comments

Currently the peer dependency of tslint: ^5.0.0 means you get this warning when using tslint 6.x

npm WARN [email protected] requires a peer of tslint@^5.0.0 but none is installed. You must install peer dependencies yourself.

Can support for 6.x be added?

rooby avatar Jan 05 '21 00:01 rooby

I just ran into this as well, when updating to Angular 10.

joshuakeel avatar Jan 12 '21 17:01 joshuakeel

Same with me, I've encountered this when running Angular v11 upgrade:

$ ng update @angular/core @angular/cli
Using package manager: 'npm'
Collecting installed dependencies...
Found 66 dependencies.
Fetching dependency metadata from registry...
                  Package "rxjs-tslint" has an incompatible peer dependency to "tslint" (requires "^5.0.0", would install "6.1.3").
✖ Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
  See "/tmp/ng-ABeah5/angular-errors.log" for further details.

have you tried to force (--force) and ignore the peer dependency warning? Would there be issues?

joboyx avatar Jan 20 '21 00:01 joboyx

@rooby Yep, I'm currently doing that and haven't had any issues.

rooby avatar Feb 15 '21 05:02 rooby

image

I got the same issue. Because of this issue, I am unable to update the angular version from 10 to 11. Is there any solution to fix this?

madhukudala avatar Jul 01 '21 15:07 madhukudala