Преглед на файлове

Added a few jshint predefined configs.

fredck преди 11 години
родител
ревизия
a3e069e84b
променени са 2 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 1 0
      dev/tasks/jshint.js
  2. 4 1
      gruntfile.js

+ 1 - 0
dev/tasks/jshint.js

@@ -12,4 +12,5 @@ module.exports = function( grunt ) {
 };
 
 var defaultConfig = {
+	'globalstrict': true
 };

+ 4 - 1
gruntfile.js

@@ -6,7 +6,10 @@ module.exports = function( grunt ) {
 
 		jshint: {
 			options: {
-				'ignores': lintIgnores
+				'ignores': lintIgnores,
+				'predef': [
+					'module'
+				]
 			}
 		},