mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
26 lines
550 B
JavaScript
26 lines
550 B
JavaScript
module.exports = function(config) {
|
|
return {
|
|
source: {
|
|
files: {
|
|
src: ['Gruntfile.js', '<%= srcDir %>/app/**/*.js'],
|
|
}
|
|
},
|
|
tests: {
|
|
files: {
|
|
src: ['<%= srcDir %>/test/**/*.js'],
|
|
}
|
|
},
|
|
options: {
|
|
jshintrc: true,
|
|
reporter: require('jshint-stylish'),
|
|
ignores: [
|
|
'node_modules/*',
|
|
'dist/*',
|
|
'sample/*',
|
|
'<%= srcDir %>/vendor/*',
|
|
'<%= srcDir %>/app/panels/*/{lib,leaflet}/*',
|
|
'<%= srcDir %>/app/dashboards/*'
|
|
]
|
|
}
|
|
};
|
|
}; |