undef: true should not clobber predef #800

Closed
xzyfer opened this Issue Jan 3, 2013 · 0 comments

Projects

None yet

2 participants

@xzyfer

Using jshint v1.0.0-rc3.

Given the following .jshintrc:

{
    "undef": true,
    "predef": [
        "jQuery"
    ]
}

Running: jshint --config .jshintrc foo.js
Exits with: foo.js: line 1, col 3, 'jQuery' is not defined.

@valueof valueof added a commit that closed this issue Jan 14, 2013
@valueof valueof Default predef values to false.
Fixes GH-800.
2f6e827
@valueof valueof closed this in 2f6e827 Jan 14, 2013
@jugglinmike jugglinmike added a commit to jugglinmike/jshint that referenced this issue Oct 21, 2014
@valueof valueof Default predef values to false.
Fixes GH-800.
e93e63c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment