@epic-web/config 1.20.1 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Consistent Filename Casing (TS)
|
|
2
|
+
|
|
3
|
+
Date: 2025-05-14
|
|
4
|
+
|
|
5
|
+
Status: accepted
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
TypeScript follows the case sensitivity rules of the file system it’s running on.
|
|
10
|
+
This can be problematic if some developers are working in a case-sensitive file system and others aren’t.
|
|
11
|
+
If a file attempts to import fileManager.ts by specifying ./FileManager.ts the file will be found
|
|
12
|
+
in a case-insensitive file system, but not on a case-sensitive file system.
|
|
13
|
+
|
|
14
|
+
When this option is set, TypeScript will issue an error if a program tries to include a file
|
|
15
|
+
by a casing different from the casing on disk.
|
|
16
|
+
|
|
17
|
+
## Decision
|
|
18
|
+
|
|
19
|
+
Set [`forceConsistentCasingInFileNames`](https://www.typescriptlang.org/tsconfig/forceConsistentCasingInFileNames.html) to true in Typescript
|
|
20
|
+
|
|
21
|
+
## Consequences
|
|
22
|
+
|
|
23
|
+
Ensure seamless workflow between developers with different operating systems.
|
package/package.json
CHANGED