Difference between revisions of "Js/jshintrc"

From Adam Meola - wiki
< Js
Jump to navigation Jump to search
Line 8: Line 8:
 
Here's my usual .jshintrc:
 
Here's my usual .jshintrc:
  
```sdfgasd```
+
<code>
 +
{
 +
    "esversion": 6,
 +
    "-W083": true,
 +
    "-W030": true
 +
}
 +
</code>
  
 
Full and Official documentation available at: https://jshint.com/docs/
 
Full and Official documentation available at: https://jshint.com/docs/

Revision as of 15:54, 25 March 2021

.jshintrc

This is the config file for the JSHint (or other JS linter) available in most modern IDEs.


"JSHint is a program that flags suspicious usage in programs written in JavaScript. The core project consists of a library itself as well as a CLI program distributed as a Node module."

Personally, I use this file to specify ES version, and to turn a few warnings off..

Here's my usual .jshintrc:

{

   "esversion": 6,
   "-W083": true,
   "-W030": true

}

Full and Official documentation available at: https://jshint.com/docs/