简体   繁体   中英

Error jshint validation es5

error throwing on jshint validation over terminal, I have empty js file still it throws error.

f.js: line 0, col 0, ES5 option is now set per defaul
1 error

Create .jshintrc file in your home directory and set es5 to FALSE.

{
   "es5"           : false,     // true: Allow ES5 syntax (ex: getters and setters)
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM