Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/grunt-bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gruntfile.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index a1f3e28..5f0361a 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -139,11 +139,11 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-nodeunit');
- // Whenever the "test" task is run, first clean the "tmp" dir, then run this
- // plugin's task(s), then test the result.
- grunt.registerTask('test', ['clean', 'nodeunit']);
+ // Whenever the "test" task is run, first clean the "tmp" dir, then lint,
+ // then test the result.
+ grunt.registerTask('test', ['clean', 'jshint', 'nodeunit']);
- // By default, lint and run all tests.
- grunt.registerTask('default', ['jshint', 'test']);
+ // By default, run all tests.
+ grunt.registerTask('default', 'test');
};