From 422b28fe55cffd7cf6da515f8d0f323fbe578ca1 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Thu, 7 Dec 2023 18:35:09 +0100 Subject: [PATCH] chore(eslint): allow PascalCase for imports Applies https://github.com/typescript-eslint/typescript-eslint/pull/7841 to our config Signed-off-by: David Mehren --- backend/.eslintrc.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/.eslintrc.js b/backend/.eslintrc.js index cb94aaf36..574b8a4b4 100644 --- a/backend/.eslintrc.js +++ b/backend/.eslintrc.js @@ -72,6 +72,10 @@ module.exports = { leadingUnderscore: 'allow', trailingUnderscore: 'allow', }, + { + selector: 'import', + format: ['camelCase', 'PascalCase'], + }, { selector: 'enumMember', format: ['UPPER_CASE'],