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 @@
{ {
"smarttabs": true, "asi": true,
"onecase": true, "bitwise": false,
"browser": true,
"camelcase": false, // Disabled for now.
"curly": true, "curly": true,
"forin": true, "forin": true,
"trailing": true, "immed": true,
"asi": true, "latedef": true,
"maxlen": 1000, "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