Skip to content

Commit

Permalink
Add prettier (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
JMPerez committed Apr 26, 2018
1 parent 534a407 commit 36077be
Show file tree
Hide file tree
Showing 27 changed files with 7,662 additions and 3,658 deletions.
21 changes: 0 additions & 21 deletions .jshintrc

This file was deleted.

1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
*.log
/test
Gruntfile.js
.jshintrc
.npmignore
20 changes: 4 additions & 16 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@

module.exports = function(grunt) {
grunt.initConfig({
jshint: {
all: [
'src/*.js'
],
options: {
jshintrc: '.jshintrc',
reporterOutput: ''
}
},
watch: {
all: {
files: [
'src/*.js',
'test/*.js'
],
files: ['src/*.js', 'test/*.js'],
tasks: ['default']
}
},
Expand All @@ -30,11 +18,11 @@ module.exports = function(grunt) {
all: {
src: ['test/*.js']
}
},
}
});
grunt.loadNpmTasks('grunt-simple-mocha');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('dev', ['jshint','simplemocha','watch']);
grunt.registerTask('default', ['jshint','simplemocha']);
grunt.registerTask('dev', ['simplemocha', 'watch']);
grunt.registerTask('default', ['simplemocha']);
};
Loading

0 comments on commit 36077be

Please sign in to comment.