From 9e2f2c46cea927903c854432bf4cef3c2dc58ba3 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Tue, 4 Jun 2024 01:09:31 +0900 Subject: [PATCH] Set: forceConsistentCasingInFileNames rule to true (tsconfig) (#4220) Set: forceConsistentCasingInFileNames rule to true (tsconfig) This is recommended by Typescript: https://typescriptlang.org/tsconfig/#forceConsistentCasingInFileNames I've had this option set locally for and lint and test scripts complete without issues I discovered this by using WebHint VS Code extension which also recommend using it. https://webhint.io/docs/user-guide/hints/hint-typescript-config/consistent-casing Co-authored-by: Harel M --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index c6ebf5f389..17a8491bbe 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "forceConsistentCasingInFileNames": true, "allowJs": true, "allowSyntheticDefaultImports": true, "checkJs": true,