microsoft / vscode-jshint

VSCode extension to integrate jshint into VSCode
https://marketplace.visualstudio.com/items?itemName=dbaeumer.jshint
MIT License
72 stars 48 forks source link

How to install #56

Closed jrock2004 closed 6 years ago

jrock2004 commented 6 years ago

Is this plugin installed by default? When I search for jslint I get some other persons plugin.

RMacfarlane commented 6 years ago

@jrock2004 Do you mean how to install this extension to VS Code, or how to install the jshint package?

jshint isn't installed by default with the extension, so you would need to follow the steps in the README. jshint and jslint are two different JavaScript linters, jshint is a fork of jslint meant to be more configurable and community-driven.

jrock2004 commented 6 years ago

The plugin. I have jshint installed via yarn global add jslint

RMacfarlane commented 6 years ago

This is the extension for integrating jsHint into VSCode, not jsLint. If this is the JS linter you're looking for, it should be the first result when you search for jshint in the extensions panel. screen shot 2018-03-30 at 3 54 01 pm

If you're looking for a jsLint extension, I think you want this one: https://github.com/ajhyndman/vscode-jslint For either, there should be an install button from that view where "Disable" is currently shown in the screenshot

They can also be installed from the marketplace: https://marketplace.visualstudio.com/items?itemName=dbaeumer.jshint https://marketplace.visualstudio.com/items?itemName=ajhyndman.jslint

jrock2004 commented 6 years ago

User error. I was search for jslint not jshint