Skip to content

Commit 36077be

Browse files
authored
Add prettier (#205)
1 parent 534a407 commit 36077be

27 files changed

+7662
-3658
lines changed

.jshintrc

-21
This file was deleted.

.npmignore

-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
*.log
33
/test
44
Gruntfile.js
5-
.jshintrc
65
.npmignore

Gruntfile.js

+4-16
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,9 @@
22

33
module.exports = function(grunt) {
44
grunt.initConfig({
5-
jshint: {
6-
all: [
7-
'src/*.js'
8-
],
9-
options: {
10-
jshintrc: '.jshintrc',
11-
reporterOutput: ''
12-
}
13-
},
145
watch: {
156
all: {
16-
files: [
17-
'src/*.js',
18-
'test/*.js'
19-
],
7+
files: ['src/*.js', 'test/*.js'],
208
tasks: ['default']
219
}
2210
},
@@ -30,11 +18,11 @@ module.exports = function(grunt) {
3018
all: {
3119
src: ['test/*.js']
3220
}
33-
},
21+
}
3422
});
3523
grunt.loadNpmTasks('grunt-simple-mocha');
3624
grunt.loadNpmTasks('grunt-contrib-jshint');
3725
grunt.loadNpmTasks('grunt-contrib-watch');
38-
grunt.registerTask('dev', ['jshint','simplemocha','watch']);
39-
grunt.registerTask('default', ['jshint','simplemocha']);
26+
grunt.registerTask('dev', ['simplemocha', 'watch']);
27+
grunt.registerTask('default', ['simplemocha']);
4028
};

0 commit comments

Comments
 (0)