Skip to content

Commit

Permalink
Bring back jshint configuration
Browse files Browse the repository at this point in the history
It was removed in 83df3be, but we're
using it on Jenkins (and build.xml). So it should stay as long as it's
used there.

Signed-off-by: Michal Čihař <[email protected]>
  • Loading branch information
nijel committed Sep 28, 2017
1 parent 342328f commit 9041209
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// Show more errors
"maxerr" : 1000,

// Globals
"jquery" : true,

// Stricter checking
"curly" : true,
"immed" : true,
"indent" : 4,
"latedef" : true,
"noarg" : true,
"noempty" : true,
"unused" : false,
"trailing" : true,

// Relaxing rules
"sub" : false,
"funcscope" : false,
"laxbreak" : false
}

0 comments on commit 9041209

Please sign in to comment.