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

pull/1082/head
Arno Roldao Junior 2016-06-28 21:12:44 -03:00
parent 78bdcb26ec
commit ba167fa22d
1 changed files with 19 additions and 0 deletions

19
grunt-tasks/jscs.js Normal file
View File

@ -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'
}*/
};
};