-
Notifications
You must be signed in to change notification settings - Fork 198
Conversation
This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request. |
@msftclas I still think that this must be full dependency. |
@Delagen I don't think I should make it a full dependency. tslint-microsoft-contrib is just a folder that tslint calls into. It does not have any actual dependencies, it only inherits dependencies from tslint. Even if I added a full dependency, I don't think it would be used. tslint would load itself and the tsutils modules, and then load one of our rule files from disk. What I can do is delete the peer dependency entirely. This is a transitive dependency satisfied by tslint, and we need to just rely on whatever tslint gives us. @sapegin if I just delete the tslint peer dependency then will this still work for you? |
I actually agree with @Delagen — for me it’s like Lodash or any other utility library, I’d put it into |
@sapegin does thumbs up mean you tested it? Nothing was ever failing for me, so all my tests pass regardless. |
@HamletDRC Works fine for me! |
It looks like this was reverted when switching from a peerDependency to a dependency. |
It should be a dependency and not a peerDependency. |
It will warn only when using a new major version. |
I understand, it just seems like a step backwards to go from |
Actually having |
And according to their 2.0.0 change log that is very likely. So I think we should use |
Triggering a release now... expect something in npm by end of day. |
I agree. Is there any reason why it's still using 1.6.0? |
To prevent warning when using newer tsutils version: