3

I'm having an issue while running the jshint task. It alerts me to add esversion: 6 to my .jshintrc file. I entered it like so:

{    
    "esversion": 6    
}    

When that didn't work I tried adding it inline like so:

/*jshint esversion: 6 */    

However, it's still throwing the same error. Has anyone else experienced this?

justcant
  • 109
  • 1
  • 10

1 Answers1

0

{ "esversion": 6 }

is the correct syntax for the .jshintrc file. You probably have the file at the wrong location - it needs to be in the same path the jshint executes from.

BlackSpy
  • 5,563
  • 5
  • 29
  • 38