Skip to content

Commit

Permalink
Lint demo code
Browse files Browse the repository at this point in the history
  • Loading branch information
gyoshev committed Jul 25, 2015
1 parent 03efd80 commit d4e0c07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"curly": true,
"eqnull": true,
"eqeqeq": true,
"unused": true,
"undef": true
}
6 changes: 5 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-gh-pages');

var files = {
demo: ['demo/**/*.js'],
lib: ['lib/**/*.js'],
test: ['test/**/*.js'],
build: ['Gruntfile.js']
};

files.all = [].concat(files.test, files.lib, files.build);
files.all = [].concat(files.demo, files.test, files.lib, files.build);

grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
options: {
ignores: "**/*.min.js"
},
all: files.all
},
mochaTest: {
Expand Down

0 comments on commit d4e0c07

Please sign in to comment.