From ccf0b2143c99a6597366c71626ef9453563f6063 Mon Sep 17 00:00:00 2001 From: Marcin Ciarka Date: Thu, 14 Sep 2023 13:05:54 +0300 Subject: [PATCH] update eslint config (#23) --- .eslintrc.json | 4 ++++ configs/oasis-borrow/index.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index b84283e..9f4e48c 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -11,6 +11,10 @@ "ignoreMemberSort": false, "memberSyntaxSortOrder": ["none", "all", "multiple", "single"] } + ], + "no-unused-vars": [ + "error", + { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" } ] }, "env": { diff --git a/configs/oasis-borrow/index.ts b/configs/oasis-borrow/index.ts index ea9863f..b8181fb 100644 --- a/configs/oasis-borrow/index.ts +++ b/configs/oasis-borrow/index.ts @@ -1,6 +1,6 @@ import { ConfigHelperType } from "⌨️"; -export default function ({ isDevelopment }: ConfigHelperType) { +export default function ({ isDevelopment: _isDevelopment }: ConfigHelperType) { return { features: { AaveV3ArbitrumBorrow: false,