use .jshintrc for editors and IDEs support

This commit is contained in:
Ulrich Sossou
2013-11-16 23:15:22 +01:00
parent 8e17aabf64
commit d6d142e90f
2 changed files with 14 additions and 13 deletions

View File

@ -70,19 +70,7 @@ module.exports = function(grunt) {
jshint: {
files: ['Gruntfile.js', 'js/**/*.js', 'test/**/*.js'],
options: {
// Disable short circuit check, I will not bend to its will.
expr: true,
browser: true,
multistr: true,
// options here to override JSHint defaults
globals: {
jQuery: true,
ionic: true,
angular: true,
console: true,
module: true,
document: true
}
jshintrc: '.jshintrc'
}
},
sass: {