From 5a9b9a33b00844ec4957b851c1f7ef47bf61cedc Mon Sep 17 00:00:00 2001 From: zoeyTM Date: Thu, 9 Feb 2023 10:57:36 -0500 Subject: [PATCH] remove unnecessary line --- config/eslint/eslintrc.js | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/config/eslint/eslintrc.js b/config/eslint/eslintrc.js index aec56414ae..0d563e5981 100644 --- a/config/eslint/eslintrc.js +++ b/config/eslint/eslintrc.js @@ -13,7 +13,6 @@ module.exports = { "@typescript-eslint", ], rules: { - "@nomiclabs/only-hardhat-plugin-error": "off", "@typescript-eslint/adjacent-overload-signatures": "error", "@typescript-eslint/array-type": [ "error", @@ -92,7 +91,7 @@ module.exports = { }, { selector: ["objectLiteralProperty"], - format: null + format: null, }, { selector: ["objectLiteralMethod"], @@ -138,9 +137,12 @@ module.exports = { "@typescript-eslint/prefer-function-type": "error", "@typescript-eslint/prefer-namespace-keyword": "error", "@typescript-eslint/restrict-plus-operands": "error", - "@typescript-eslint/restrict-template-expressions": ["error", { - allowAny: true, - }], + "@typescript-eslint/restrict-template-expressions": [ + "error", + { + allowAny: true, + }, + ], "@typescript-eslint/strict-boolean-expressions": [ "error", { @@ -220,8 +222,11 @@ module.exports = { }, ], "use-isnan": "error", - "no-restricted-imports": ["error", { - patterns: ["hardhat/src", "@nomiclabs/*/src"] - }], + "no-restricted-imports": [ + "error", + { + patterns: ["hardhat/src", "@nomiclabs/*/src"], + }, + ], }, };