]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Disable prefer-object-has-own ESLint rule 4015/head
authormoisseev <moiseev@mezonplus.ru>
Sat, 18 Dec 2021 19:22:24 +0000 (22:22 +0300)
committermoisseev <moiseev@mezonplus.ru>
Sat, 18 Dec 2021 19:26:40 +0000 (22:26 +0300)
as Object.hasOwn(…) is not implemented in Pale Moon.

.eslintrc.json

index 2dc3ebc5110f4558f126c075df1b6614d04bb3a8..ff514b13c73c64b2f035a8ba2af63713e6566df0 100644 (file)
@@ -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"],