From f41de98a7cef5c1eba3d67738dfcb66b9319f4a4 Mon Sep 17 00:00:00 2001 From: Arseniy Klempner Date: Tue, 7 Nov 2023 09:53:17 -0800 Subject: [PATCH] feat: forbid identifiers with camelcase pubSub --- .eslintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index b2b2fd5968..898bee844b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -72,7 +72,8 @@ "@typescript-eslint/no-floating-promises": "error", "@typescript-eslint/await-thenable": "error", "@typescript-eslint/no-misused-promises": "error", - "@typescript-eslint/no-explicit-any": "warn" + "@typescript-eslint/no-explicit-any": "warn", + "id-match": ["error", "^(?!.*[pP]ubSub)"] }, "overrides": [ {