tuning ESlint & JSHint
This commit is contained in:
parent
341131e5ed
commit
59544da21f
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue