Browse Source

Enforce better JavaScript syntax.

pull/146/merge
Simon Eisenmann 11 years ago
parent
commit
bb4066d8f3
  1. 30
      .jshint

30
.jshint

@ -1,10 +1,28 @@ @@ -1,10 +1,28 @@
{
"smarttabs": true,
"onecase": true,
"asi": true,
"bitwise": false,
"browser": true,
"camelcase": false, // Disabled for now.
"curly": true,
"forin": true,
"trailing": true,
"asi": true,
"immed": true,
"latedef": true,
"maxlen": 1000,
"quotmark": false
}
"newcap": true,
"noarg": true,
"noempty": false, // Disabled for now.
"nonew": true,
"onecase": true,
"predef": [
"define",
"require",
"console"
],
"quotmark": false,
"smarttabs": true,
"trailing": true,
"undef": true,
"unused": false // Disabled for now
}

Loading…
Cancel
Save