From 78bdcb26ec5ca4f02f9ab856260b5d4c9cc207c2 Mon Sep 17 00:00:00 2001 From: Arno Roldao Junior Date: Tue, 28 Jun 2016 21:12:31 -0300 Subject: [PATCH] Separate: task 'ESLINT' and create module for 'load-config-grunt' --- grunt-tasks/eslint.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 grunt-tasks/eslint.js diff --git a/grunt-tasks/eslint.js b/grunt-tasks/eslint.js new file mode 100644 index 000000000..52ca858eb --- /dev/null +++ b/grunt-tasks/eslint.js @@ -0,0 +1,11 @@ +// Lint ECMASCRIPT +'use strict'; + +module.exports = function (grunt) { + return { + options: { + configFile: 'build/js/.eslintrc' + }, + target: 'build/js/src/*.js' + }; +};