Add eslint:recommended and update rules and globals
This commit is contained in:
parent
c4c3078e06
commit
f7997d5270
8 changed files with 56 additions and 7 deletions
|
@ -11,6 +11,7 @@ if (typeof Object.assign != 'function') {
|
|||
var source = arguments[index];
|
||||
if (source !== undefined && source !== null) {
|
||||
for (var nextKey in source) {
|
||||
// eslint-disable-next-line no-prototype-builtins
|
||||
if (source.hasOwnProperty(nextKey)) {
|
||||
output[nextKey] = source[nextKey];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue