From f590cd7a978451234fa9c887737c3e247a001ed2 Mon Sep 17 00:00:00 2001 From: Xin Hao Zhang Date: Fri, 28 Jul 2023 00:18:22 -0400 Subject: [PATCH] cluster-ui: set 'error' on eslint rule no-unused-vars Unused vars will now show up as lint errors in cluster-ui package. Epic: none Release note: None --- pkg/ui/workspaces/cluster-ui/.eslintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ui/workspaces/cluster-ui/.eslintrc.json b/pkg/ui/workspaces/cluster-ui/.eslintrc.json index f1e039bda2c6..0c112d46dd52 100644 --- a/pkg/ui/workspaces/cluster-ui/.eslintrc.json +++ b/pkg/ui/workspaces/cluster-ui/.eslintrc.json @@ -10,7 +10,7 @@ "@typescript-eslint/interface-name-prefix": "off", "@typescript-eslint/no-explicit-any": "warn", "@typescript-eslint/no-namespace": "off", - "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }], + "@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }], "@cockroachlabs/crdb/require-antd-style-import": "error" } }