Skip to content

Commit

Permalink
feat(app generator chore): adapt to grunt-coffee-jshint@0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cueedee committed Jul 22, 2015
1 parent f8cbd62 commit acbff72
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions generators/app/templates/@Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -378,18 +378,14 @@ module.exports = ( grunt ) ->

options:

## NOTE: Current grunt-coffee-jshint@0.2.1 uses coffee-jshint@0.0.14, which uses jshint@2.1.11, which does not yet support the 'browserify'
## option and others.
## The use of browserify and the UMD (Universal Module Definition) pattern implies the legimate use of the globals below.
## NOTE: The use of browserify and the UMD (Universal Module Definition) pattern implies the legimate use of the globals below.
##
## I would have liked to specify these globals and other jshint options through a '.jshintrc' file instead but have been unsuccessful so far.
##
## Look at the supplied 'file:./.jshintrc' for further inspiration.
##
globals: [
'define'
'module'
'require'
]

## Caveat: Using the extra variable `jshintOptions` to share a common set between the different targets below. Afaict this can't be done any
Expand All @@ -414,6 +410,7 @@ module.exports = ( grunt ) ->
options:
jshintOptions: jshintOptions.concat( [
## Environment options:
'browserify'
'browser'
'devel'
] )
Expand Down

0 comments on commit acbff72

Please sign in to comment.