-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jshintrc
21 lines (19 loc) · 806 Bytes
/
.jshintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
// Enforcing
"camelcase": true, // Identifiers must be in camelCase
"curly": true, // Require {} for every new block or scope
"eqeqeq": true, // Require triple equals (===) for comparison
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `(function () { } ());`
"indent": 4, // Number of spaces to use for indentation
"latedef": true, // Require variables/functions to be defined before being used
"newcap": true, // Require capitalization of all constructor functions e.g. `new F()`
"quotmark": "single", // Quotation mark consistency
"maxlen": 80, // Max number of characters per line
// Environments
"jquery": true,
// Custom Globals for RequireJS
"globals": {
"define": true,
"require": true
}
}