Add eslint:recommended and update rules and globals
This commit is contained in:
@@ -12,6 +12,7 @@ if (HTMLElement.prototype.nativeFocus === undefined) {
|
||||
}, true);
|
||||
|
||||
var opts = Object.defineProperty({}, "preventScroll", {
|
||||
// eslint-disable-next-line getter-return
|
||||
get: function () {
|
||||
supportsPreventScrollOption = true;
|
||||
}
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user