2013-11-14 17:07:14 -06:00
|
|
|
module.exports = function(config) {
|
|
|
|
return {
|
|
|
|
source: {
|
|
|
|
files: {
|
2014-04-06 03:47:14 -05:00
|
|
|
src: ['Gruntfile.js', '<%= srcDir %>/app/**/*.js'],
|
|
|
|
}
|
|
|
|
},
|
|
|
|
tests: {
|
|
|
|
files: {
|
|
|
|
src: ['<%= srcDir %>/test/**/*.js'],
|
2013-11-14 17:07:14 -06:00
|
|
|
}
|
|
|
|
},
|
|
|
|
options: {
|
2014-04-06 03:47:14 -05:00
|
|
|
jshintrc: true,
|
|
|
|
reporter: require('jshint-stylish'),
|
2013-11-14 22:29:41 -06:00
|
|
|
ignores: [
|
|
|
|
'node_modules/*',
|
|
|
|
'dist/*',
|
|
|
|
'sample/*',
|
|
|
|
'<%= srcDir %>/vendor/*',
|
2014-04-16 07:57:35 -05:00
|
|
|
'<%= srcDir %>/app/panels/*/{lib,leaflet}/*',
|
|
|
|
'<%= srcDir %>/app/dashboards/*'
|
2013-11-14 22:29:41 -06:00
|
|
|
]
|
2013-11-14 17:07:14 -06:00
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|