From 18ff57a183ac141f70164be481ef703729bcdf0d Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Tue, 18 Aug 2015 19:22:46 -0700 Subject: js tests passing + eslint --- Gruntfile.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 3dc69a17c..095b7ed3e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -116,6 +116,13 @@ module.exports = function (grunt) { } }, + eslint: { + options: { + configFile: 'js/.eslintrc' + }, + target: 'js/src/*.js' + }, + jscs: { options: { config: 'js/.jscsrc' @@ -449,7 +456,7 @@ module.exports = function (grunt) { testSubtasks.push('saucelabs-qunit'); } grunt.registerTask('test', testSubtasks); - grunt.registerTask('test-js', ['jscs:core', 'jscs:test', 'jscs:grunt', 'qunit']); + grunt.registerTask('test-js', ['eslint', 'jscs:core', 'jscs:test', 'jscs:grunt', 'qunit']); // JS distribution task. grunt.registerTask('dist-js', ['concat', 'lineremover', 'babel:dist', 'stamp', 'uglify:core', 'commonjs']); -- cgit v1.2.3