Skip to content

Commit

Permalink
Gruntfile.js also lint ready; Resolved #14
Browse files Browse the repository at this point in the history
  • Loading branch information
kgashok committed May 31, 2016
1 parent 6596ade commit 2f758dd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
18 changes: 9 additions & 9 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/*global module*/
'use strict';
module.exports = function (grunt) {
'use strict';

var gruntConfig = {};
grunt.loadNpmTasks('grunt-contrib-jshint');
gruntConfig.jshint = {
options: { bitwise: true, camelcase: true, curly: true, eqeqeq: true, forin: true, immed: true,
indent: 2, latedef: true, newcap: true, noarg: true, noempty: true, nonew: true, plusplus: true,
quotmark: true, regexp: true, undef: true, unused: true, strict: true, trailing: true,
maxparams: 3, maxdepth: 2, maxstatements: 50},
all: [
/*'Gruntfile.js', */
'src/js/**/*.js'
]
options: { bitwise: true, camelcase: true, curly: true, eqeqeq: true, forin: true, immed: true,
indent: 2, latedef: true, newcap: true, noarg: true, noempty: true, nonew: true, plusplus: true,
quotmark: true, regexp: true, undef: true, unused: true, strict: true, trailing: true,
maxparams: 3, maxdepth: 2, maxstatements: 50},
all: [
'Gruntfile.js',
'src/js/**/*.js'
]
};
grunt.initConfig(gruntConfig);
grunt.registerTask('travis', ['jshint', 'test']);
Expand Down
9 changes: 0 additions & 9 deletions src/test/index.html.bak

This file was deleted.

0 comments on commit 2f758dd

Please sign in to comment.