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

jshint does not recognize typings (.tsd) configurations for node #15

Closed AdonousTech closed 8 years ago

AdonousTech commented 8 years ago

When using node in VS Code, jshint does not recognize the built in Node types/funcs, such as __dir name, require, etc. This results in erroneous linting errors. Note that VS Code does not recognize these types until the node tsd files are added to a project.

Is there a workaround for this?

rkhat commented 8 years ago

Add "node": true as a jshint option

kieferrm commented 8 years ago

@appeality @rkhat's should solve your 'erroneous listing errors' issues.