Closed fionnbharra closed 10 years ago
Confirmed.
Fixed by commenting '<%= yeoman.app %>/scripts/{,*/}*.js',
but then you aren't validating any of your scripts, just tests...
jshint: {
options: {
jshintrc: '.jshintrc'
},
all: [
'Gruntfile.js',
//'<%= yeoman.app %>/scripts/{,*/}*.js',
'!<%= yeoman.app %>/scripts/vendor/*',
'test/spec/{,*/}*.js'
]
},
tim@tim:~/dev/mobile$ grunt
Running "jshint:all" (jshint) task
>> 2 files lint free.
Going to take a look at this on Monday. Thanks for flagging it!
Looked into this. The current issue is that we're writing files which should be in vendor directly into /scripts and they're getting linted. We could also do a better job of not linting bower_components.
"grunt fails due to warnings" still here. many warnings. doesnt work with out -f how can i edit grunt file to skip checking some of the files?
@oak-tree see my previous comment for a hack
Pushed a workaround to master. We'll get out a new release in the next week.
Any update on this? Updated my generator and this issue persists... TIA
Any updates? Just tied yeoman with backbone and getting the same problem.
When I try to perform an initial build, after running 'yo mobile', I get the following -