Here is an example of the contents of the .jshintrc file (it should be inside the project, or in the project folder).
{ "camelcase" : true, // Variable names in camelCase style "undef" : true, // All non-global variables must be declared before they can be used "quotmark" : true, // Quote style consistency "maxlen" : 120, // Maximum string length "trailing" : true, // Trailing spaces are not allowed "curly" : true, // Curly quotes are required for each new block or region "strict" : true, // Strict use required "browser" : true, // Standard browser 'window', 'document' "devel" : true, // 'console.log();' developer panel enabled "jquery" : true, // Option defines global variables provided by the jQuery library "esversion" : 8, // Enable features introduced in ECMAScript 8 "node" : true // Defines the available global variables }