Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vscode jshint configuration

I want to exclude some diretory in my project and configure vscode jshint in setting.json

{
    "jslint.exclude": "C:\\Users\\Administrator\\Desktop\\tmp"
}

However a object is ecpected, so what is the key of object?

like image 261
teik Avatar asked Feb 05 '26 17:02

teik


1 Answers

jslint.exclude maps paths (which possibly contain globs) to true or false to indicate if the path should be excluded

"jslint.exclude": {
     "C:\\Users\\Administrator\\Desktop\\tmp": true,
     "**\\*.es6": true
}
like image 50
Matt Bierner Avatar answered Feb 09 '26 08:02

Matt Bierner



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!