Browse Source

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

Arno Roldao Junior 8 years ago
parent
commit
ba167fa22d
1 changed files with 19 additions and 0 deletions
  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'
+     }*/
+  };
+};