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

This commit is contained in:
Arno Roldao Junior
2016-06-28 21:12:31 -03:00
parent 1d7f8fa444
commit 78bdcb26ec

11
grunt-tasks/eslint.js Normal file
View File

@@ -0,0 +1,11 @@
// Lint ECMASCRIPT
'use strict';
module.exports = function (grunt) {
return {
options: {
configFile: 'build/js/.eslintrc'
},
target: 'build/js/src/*.js'
};
};