From 6be961edf33b4d405fabc5656559f2abfbe21d4d Mon Sep 17 00:00:00 2001 From: Robert Yokota Date: Thu, 22 Aug 2024 12:09:18 -0700 Subject: [PATCH 1/2] Add some ts eslint rules --- eslint.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index 8f489ec6..8ccf17d0 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -55,5 +55,11 @@ module.exports = ts.config( ...ts.configs.recommended.map((config) => ({ ...config, ignores: ["**/*.js"], + rules: { + ...config.rules, + "prefer-const": 0, + "@typescript-eslint/no-explicit-any": "warn", + "@typescript-eslint/no-unused-vars": "warn", + } })), ); From d523a7239492508ecc1615092e7eceabf59a10d0 Mon Sep 17 00:00:00 2001 From: Robert Yokota Date: Thu, 22 Aug 2024 13:10:32 -0700 Subject: [PATCH 2/2] Fix makefile --- Makefile.schemaregistry | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.schemaregistry b/Makefile.schemaregistry index 096b22ab..248ff096 100644 --- a/Makefile.schemaregistry +++ b/Makefile.schemaregistry @@ -9,7 +9,7 @@ TS_NODE ?= ./node_modules/.bin/ts-node # Paths SRC_DIR = schemaregistry SR_TEST_DIR = test/schemaregistry -DEK_TEST_DIR = test/dekregistry +DEK_TEST_DIR = test/schemaregistry/dekregistry INTEG_DIR = e2e/schemaregistry # Tasks @@ -24,4 +24,4 @@ test: $(JEST) $(SR_TEST_DIR) $(DEK_TEST_DIR) integtest: - $(JEST) $(INTEG_DIR) \ No newline at end of file + $(JEST) $(INTEG_DIR)