mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -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/*'
|
|
]
|
|
}
|
|
};
|
|
}; |