Skip to content

'grunt jshint:server' ignores deep server/api files #463

Closed
@bkapicka

Description

@bkapicka

Are files nested in the server/api purposefully excluded from jshint:serve?

If not, proposed minor updates outlined below:

Updated Gruntfile:

src: [ 'server/{,*/}*.js']

to

src: [ 'server/**/*.js']

This causes the boilerplate specs to fail on 'grunt jshint:server'. Two additional changes to address:

  1. Remove "latedef": true from Server .jshintrc
  2. Add /*global describe, it, before, beforeEach, after, afterEach */
    and /*jshint expr:true */ to thing.spec.js and user.spec.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions