Browse Source

Separate: task 'JSCS' and create module for 'load-config-grunt'

Arno Roldao Junior 8 năm trước cách đây
mục cha
commit
ba167fa22d
1 tập tin đã thay đổi với 19 bổ sung0 xóa
  1. 19 0
      grunt-tasks/jscs.js

+ 19 - 0
grunt-tasks/jscs.js

@@ -0,0 +1,19 @@
+// Lint JS code
+'use strict';
+
+module.exports = function (grunt) {
+	return  {
+    options: {
+      config: 'build/js/.jscsrc'
+    },
+    grunt: {
+      src: ['Gruntfile.js']
+    },
+    core: {
+      src: 'js/src/*.js'
+    }
+    /*app: {
+     src: 'dist/js/app.js'
+     }*/
+  };
+};