Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detect when used as a globally installed module; error on compile/clean verbs #89

Closed
ofrobots opened this issue Nov 18, 2017 · 3 comments

Comments

@ofrobots
Copy link
Contributor

fix and check can be used from a globally installed gts, but not check and clean.

@ofrobots
Copy link
Contributor Author

Actually, use of check from a globally installed gts can be problematic. We do not depend upon typescript which means that unless the user has typescript also globally installed, we will not be able to instantiate tslint's API.

Perhaps the solution is for the global gts to try and locate the local gts and exec that, similar to how gulp does it.

Secondly, we should probably provide a better error message when check fails before typescript is missing.

@ofrobots ofrobots added this to the 1.0 milestone Nov 20, 2017
@ofrobots
Copy link
Contributor Author

ofrobots commented Feb 6, 2019

Probably the only verb that makes sense from a non-local installed gts is init.
For all other verbs, we should exec the locally installed copy.

@ofrobots ofrobots removed this from the 1.0 milestone Feb 14, 2019
@JustinBeckwith
Copy link
Collaborator

With the move to eslint I believe this actually works now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants