commit 7afa069: [Test] Disable prefer-object-has-own ESLint rule

moisseev moiseev at mezonplus.ru
Sat Dec 18 19:35:04 UTC 2021


Author: moisseev
Date: 2021-12-18 22:22:24 +0300
URL: https://github.com/rspamd/rspamd/commit/7afa0694dac2e455828cb12e863489ddc0783e4c (refs/pull/4015/head)

[Test]  Disable prefer-object-has-own ESLint rule
as Object.hasOwn(…) is not implemented in Pale Moon.

---
 .eslintrc.json | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.eslintrc.json b/.eslintrc.json
index 2dc3ebc51..ff514b13c 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -47,6 +47,7 @@
         "padded-blocks": "off",
         "prefer-arrow-callback": "off",
         "prefer-destructuring": "off",
+        "prefer-object-has-own": "off",
         "prefer-spread": "off",
         "prefer-template": "off",
         "quote-props" : ["error", "consistent-as-needed"],


More information about the Commits mailing list