Skip to content

jshint config isn't quite right #225

@boneskull

Description

@boneskull

JSHint complains about "use the function form of 'use strict'", which is only correct in a global context. Node.js scripts aren't using a global context, so the correct place to put "use strict" is at the top of the each file. Every file is using the function form, because ostensibly JSHint complains about it.

After I hit that problem, JSHint was complaining that "require" doesn't exist, so there's further misconfiguration somewhere...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions