forked from sculove/angular-visible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.jshintrc
34 lines (32 loc) · 1.04 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
// https://github.com/jshint/jshint/blob/master/src/messages.js
{
// "curly": true,
"eqeqeq": false,
"white": false,
// "immed": true,
// "latedef": true,
// "newcap": true,
// "noarg": true,
"sub": true,
"undef": true,
"evil" : true,
// "boss": true,
// "eqnull": true,
"browser": true,
"-W020": true, // Mixed spaces and tabs.
"-W099": true, // Mixed spaces and tabs.
"-W014": true, // Bad line breaking before '||'.
"-W041": true, // Use '===' to compare with ''
"-W083": true, // Don't make functions within a loop.
"-W027": true, // Unreachable 'break' after 'return'.
"-W084": true, // Expected a conditional expression and instead saw an assignment.
"-W093": true, // Did you mean to return a conditional instead of an assignment?
"-W086": true, // Expected a 'break' statement before 'case'.
"-W030": true, // Expected an assignment or function call and instead saw an expression.
"-W097": true, // Use the function form of \"use strict\".
"globals": {
"console": true,
"jQuery" : true,
"angular" : true
}
}