'build/rng.css': 'styles/main.less'
},
},
+ },
+ jshint: {
+ all: ['Gruntfile.js', 'modules/**/*.js', 'views/**/*.js', 'fnpjs/**/*.js']
}
});
grunt.loadNpmTasks('grunt-contrib-requirejs');
grunt.loadNpmTasks('grunt-contrib-less');
+ grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['requirejs']);
};
\ No newline at end of file
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-requirejs": "~0.4.1",
- "grunt-contrib-less": "~0.6.1"
+ "grunt-contrib-less": "~0.6.1",
+ "grunt-contrib-jshint": "~0.6.0"
}
}