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

pull/1082/head
Arno Roldao Junior 2016-06-23 11:46:11 -03:00
parent ed7235e0e0
commit 46f087d3a0
1 changed files with 18 additions and 0 deletions

18
grunt-tasks/jshint.js Normal file
View File

@ -0,0 +1,18 @@
'use strict';
module.exports = function (grunt) {
return {
options: {
jshintrc: '.jshintrc'
},
core: {
src: 'dist/js/app.js'
},
demo: {
src: 'dist/js/demo.js'
},
pages: {
src: 'dist/js/pages/*.js'
}
};
};