-
Notifications
You must be signed in to change notification settings - Fork 329
Closed
Description
If you use generator to install a sidemenu template, run grunt serve, and then trigger a save on app.js (with no actual change), grunt runs jshint and fails.
Running "jshint:all" (jshint) task
JS changed: www/scripts/app.js
app/scripts/app.js
line 10 col 3 Missing "use strict" statement.
line 24 col 3 Missing "use strict" statement.
line 27 col 16 Strings must use singlequote.
line 29 col 39 Strings must use singlequote.
line 34 col 19 Strings must use singlequote.
line 37 col 45 Strings must use singlequote.
line 43 col 19 Strings must use singlequote.
line 46 col 46 Strings must use singlequote.
line 51 col 24 Strings must use singlequote.
line 54 col 50 Strings must use singlequote.
line 61 col 34 Strings must use singlequote.
line 64 col 47 Strings must use singlequote.
app/scripts/configuration.js
line 1 col 13 Strings must use singlequote.
app/scripts/controllers.js
line 5 col 3 Missing "use strict" statement.
line 37 col 3 Missing "use strict" statement.
line 47 col 46 '$stateParams' is defined but never used.
line 47 col 38 '$scope' is defined but never used.
✖ 4 errors
⚠ 13 warnings
Warning: Task "jshint:all" failed. Use --force to continue.
Granted, it's easy enough to adjust jshint's settings, or to update the code, but it's a barrier to entry for those unfamiliar with how to go about doing so.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels