Reuse .jshintrc in a grunt project
Simply add a jshintrc property:
jshintrc: '.jshintrc'
Grunt specific settings may still be used:
jshint: {
grunt: {
options: { node: true }
globals: { .... }
}
}
Written by Uri Sharf
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#