forked from yoavniran/grunt-systemjs-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jshintrc
39 lines (36 loc) · 1.1 KB
/
.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
27
28
29
30
31
32
33
34
35
36
37
38
39
{
/**
* adapted from: https://gist.github.com/haschek/2595796
*/
"curly": true,
// Require {} for every new block or scope.
"eqeqeq": true,
// Require triple equals i.e. `===`.
"latedef": true,
// Prohibit variable use before definition.
"newcap": true,
// Require capitalization of all constructor functions e.g. `new F()`.
"noarg": true,
// Prohibit use of `arguments.caller` and `arguments.callee`.
"noempty": true,
// Prohibit use of empty blocks.
"nonew": true,
// Prohibit use of constructors for side-effects.
"plusplus": true,
// Prohibit use of `++` & `--`.
"undef": true,
// Require all non-global variables be declared before they are used.
"strict": true,
// Require `use strict` pragma in every file.
"trailing": true,
// Prohibit trailing whitespaces.
"unused": true,
//This option warns when you define and never use your variables
"validthis": true,
// Tolerate strict violations when the code is running in strict mode and you use this in a non-constructor function.
"globals": {
"require": false,
"module": false,
"exports": false
}
}