/ Gruntfile.js
Gruntfile.js
1 module.exports = function(grunt) { 2 grunt.initConfig({ 3 jshint: { 4 all: ['*.js'] 5 }, 6 bootlint: { 7 options: { 8 stoponerror: false, 9 relaxerror: [] 10 }, 11 files: ['index.html'] 12 } 13 }); 14 grunt.loadNpmTasks('grunt-contrib-jshint'); 15 grunt.loadNpmTasks('grunt-bootlint'); 16 grunt.registerTask('default', ['jshint','bootlint']); 17 };