mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-21 16:00:11 +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:
parent
b26799f9fc
commit
b57d9f05af
@ -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']
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user