From 7c907d6d9cc476a02672c0b198e99205fca8e739 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 10 Sep 2023 21:23:17 -0700 Subject: [PATCH] [eslint] fix indentation --- .eslintrc | 6 +++--- index.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.eslintrc b/.eslintrc index 1fc98be..d8824e9 100644 --- a/.eslintrc +++ b/.eslintrc @@ -16,8 +16,8 @@ "no-proto": 0, "no-sparse-arrays": 1, "no-underscore-dangle": 0, - "no-invalid-this": 0, - "object-curly-newline": 0, + "no-invalid-this": 0, + "object-curly-newline": 0, "sort-keys": 0, }, @@ -26,7 +26,7 @@ "files": "examples/**", "rules": { "no-console": 0, - "no-plusplus": 0, + "no-plusplus": 0, }, }, ], diff --git a/index.js b/index.js index 032d0c5..07bfc52 100644 --- a/index.js +++ b/index.js @@ -55,8 +55,8 @@ function copy(src) { dst = {}; } else { var proto = (src.constructor && src.constructor.prototype) - || src.__proto__ - || {}; + || src.__proto__ + || {}; var T = function T() {}; // eslint-disable-line func-style, func-name-matching T.prototype = proto; dst = new T();