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: 2
|
||||
no-proto: 2
|
||||
no-redeclare: 2
|
||||
no-redeclare: 0
|
||||
no-return-assign: 2
|
||||
no-script-url: 2
|
||||
no-self-compare: 2
|
||||
|
|
|
@ -26,8 +26,10 @@
|
|||
},
|
||||
"predef": {
|
||||
"after": true,
|
||||
"Base64": false,
|
||||
"before": true,
|
||||
"cleanup": true,
|
||||
"console": true,
|
||||
"describe": false,
|
||||
"document": true,
|
||||
"fs": false,
|
||||
|
@ -36,6 +38,7 @@
|
|||
"it": false,
|
||||
"jsc": false,
|
||||
"jsdom": true,
|
||||
"navigator": true,
|
||||
"require": false,
|
||||
"window": true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue