Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Closed
@bkapicka

Description

@bkapicka
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.