From 57ee20ea1cad70c6c22fc600cf55238ce0aa155c Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 2 Nov 2020 12:33:50 +0200 Subject: [PATCH] Disable a few rules * `jasmine/expect-single-argument` since it wrongfully flags `expect().nothing()` * `jasmine/new-line-before-expect` * `jasmine/no-spec-dupes` * `jasmine/prefer-toHaveBeenCalledWith` --- js/tests/unit/.eslintrc.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/js/tests/unit/.eslintrc.json b/js/tests/unit/.eslintrc.json index 6f5964ba9..796c82e03 100644 --- a/js/tests/unit/.eslintrc.json +++ b/js/tests/unit/.eslintrc.json @@ -9,5 +9,11 @@ "extends": [ "../../../.eslintrc.json", "plugin:jasmine/recommended" - ] + ], + "rules": { + "jasmine/expect-single-argument": "off", + "jasmine/new-line-before-expect": "off", + "jasmine/no-spec-dupes": "off", + "jasmine/prefer-toHaveBeenCalledWith": "off" + } }