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

Try to use local version of hint instead of global one #9

Closed
molant opened this issue Oct 28, 2019 · 0 comments
Closed

Try to use local version of hint instead of global one #9

molant opened this issue Oct 28, 2019 · 0 comments
Assignees
Milestone

Comments

@molant
Copy link
Member

molant commented Oct 28, 2019

Right now the extension seems to be looking for the global installation.
We should check if the project already has one installed as a devDependency and if so, use it.

We could look into the package.json of the project, or inside node_modules/bin or something similar

@molant molant self-assigned this Oct 29, 2019
@molant molant added this to the 1911-1 milestone Oct 29, 2019
molant added a commit that referenced this issue Oct 31, 2019
- Use `npx` if local version not found
- Use default config if none found
- Fix webpack bundle
- More tasks in `scripts`
- Default debugging tasks for VS Code
- Script to bump the version of the task
- Refactor code to use functions instead of classes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Fix #9
Fix #10
Fix #12
@molant molant closed this as completed in 7ba74a0 Oct 31, 2019
EddyHaigh pushed a commit to EddyHaigh/webhint-ado-extension that referenced this issue Jul 23, 2020
- Use `npx` if local version not found
- Use default config if none found
- Fix webpack bundle
- More tasks in `scripts`
- Default debugging tasks for VS Code
- Script to bump the version of the task
- Refactor code to use functions instead of classes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Fix webhintio#9
Fix webhintio#10
Fix webhintio#12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant