Commit 92a485bd by Rashid Khan

Add baseDir variable

parent 07f15715
......@@ -4,6 +4,7 @@ module.exports = function (grunt) {
var config = {
pkg: grunt.file.readJSON('package.json'),
baseDir: '.',
srcDir: 'src',
destDir: 'dist',
tempDir: 'tmp',
......
......@@ -7,7 +7,14 @@ module.exports = function(config) {
}
},
options: {
jshintrc: '.jshintrc'
jshintrc: '<%= baseDir %>/.jshintrc',
ignores: [
'node_modules/*',
'dist/*',
'sample/*',
'<%= srcDir %>/vendor/*',
'<%= srcDir %>/app/panels/*/{lib,leaflet}/*'
]
}
};
};
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment