Browse Source

Added rules for jshint

Abdullah Almsaeed 9 years ago
parent
commit
b1a94d780f
1 changed files with 17 additions and 0 deletions
  1. 17 0
      .jshintrc

+ 17 - 0
.jshintrc

@@ -0,0 +1,17 @@
+{
+  "asi"      : true,
+  "browser"  : true,
+  "eqeqeq"   : false,
+  "eqnull"   : true,
+  "es3"      : true,
+  "expr"     : true,
+  "jquery"   : true,
+  "latedef"  : "nofunc",
+  "laxbreak" : true,
+  "nonbsp"   : true,
+  "strict"   : true,
+  "undef"    : true,
+  "unused"   : true,
+  // External variabls and plugins
+  "predef":  [ "AdminLTEOptions", "FastClick", "moment", "Morris", "Chart" ]
+}