tuning ESlint & JSHint

This commit is contained in:
El RIDO 2018-01-06 14:44:18 +01:00
parent 341131e5ed
commit 59544da21f
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
2 changed files with 4 additions and 1 deletions

View file

@ -98,7 +98,7 @@ rules:
no-octal-escape: 2 no-octal-escape: 2
no-octal: 2 no-octal: 2
no-proto: 2 no-proto: 2
no-redeclare: 2 no-redeclare: 0
no-return-assign: 2 no-return-assign: 2
no-script-url: 2 no-script-url: 2
no-self-compare: 2 no-self-compare: 2

View file

@ -26,8 +26,10 @@
}, },
"predef": { "predef": {
"after": true, "after": true,
"Base64": false,
"before": true, "before": true,
"cleanup": true, "cleanup": true,
"console": true,
"describe": false, "describe": false,
"document": true, "document": true,
"fs": false, "fs": false,
@ -36,6 +38,7 @@
"it": false, "it": false,
"jsc": false, "jsc": false,
"jsdom": true, "jsdom": true,
"navigator": true,
"require": false, "require": false,
"window": true "window": true
} }