diff options
author | Steffen Lindner <mail@steffen-lindner.de> | 2015-08-30 21:40:45 +0300 |
---|---|---|
committer | Steffen Lindner <mail@steffen-lindner.de> | 2015-08-31 11:20:49 +0300 |
commit | d7315a8522d574cdb728fcc18ae6453504b901ce (patch) | |
tree | caeec2484d3fcec34e3d8a0a482ebe9e79e61248 /Gruntfile.js | |
parent | b268270bd854d908463644b8f748d436985eb817 (diff) |
JSCS Fixes
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 6671fcc11..89497d9c2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -9,19 +9,23 @@ * @author Christoph Wurst <christoph@winzerhof-wurst.at> * @copyright Christoph Wurst 2015 */ -module.exports = function (grunt) { +module.exports = function(grunt) { // Project configuration. grunt.initConfig({ + jshint: { + options: { + jshintrc: '.jshintrc' + }, + all: ['Gruntfile.js', 'js/*.js', 'js/models/*.js', 'js/views/*.js'] + }, jscs: { - src: 'js/*.js', + src: '<%= jshint.all %>', options: { config: '.jscsrc', verbose: true } - }, - jshint: { - jshintrc: '.jshintrc' } + }); // jscs |