i am getting the following error when i try to run jshint in the command prompt. My .jshintrc file looks like as follows:
things tried:- tried changing the advanced settings of visual studio from utf-8 to western european codeset 1852.
i couldn't find any other solution to my problem as i am using proper json format for my file.
I had the same error message. I thought it was because there was a space in the file path, but removing that didn't help. As a workaround, you can add options inline:
uses_defaults: ['dir1/**/*.js', 'dir2/**/*.js'],
src: ['dir3/**/*.js', 'dir4/**/*.js']
This looks like it is a grunt-contrib-jshint issue. I'm able to repro without WebEssentials installed