-
Notifications
You must be signed in to change notification settings - Fork 117
/
.jshintrc
26 lines (21 loc) · 943 Bytes
/
.jshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
// Bare-bones default JSHint configuration file for
// The JavaScripting English Major
// (http://the-javascripting-english-major.org)
// See http://jshint.com/docs/ for more details
// Enforcing
"latedef" : false, // true: Require variables/functions to be defined before being used
"quotmark" : "double", // Quotation mark consistency:
"undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
"strict" : "implied", // true: Requires all functions run in ES5 Strict Mode
"varstmt" : true, // true: Disallow any var statements. Only `let` and `const` are allowed.
"eqeqeq" : true,
// Relaxing
"esversion" : 6,
// Environments
"browser" : true,
"devel" : true, // alert, confirm, etc.
"jquery" : true,
// Custom Globals
"predef" : ["L"] // predefined env variables.
}