1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-24 17:30:10 +00:00

jsHint: Allow == null.

Relax jsHint's barbaric and antiquated default behavior on triple-equals
null comparisons. Allow expressive, precise, and subtle expressions such
as CoffeeScript's use of "== null" for testing against null OR undefined
under the existential operator.
This commit is contained in:
hacksalot 2016-02-12 17:42:48 -05:00
parent b26799f9fc
commit b57d9f05af

View File

@ -70,7 +70,8 @@ module.exports = function (grunt) {
jshint: {
options: {
laxcomma: true,
expr: true
expr: true,
eqnull: true
},
all: ['Gruntfile.js', 'dist/cli/**/*.js', 'test/*.js']
}