@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
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.20.1",
7
+ "version": "1.21.0",
8
8
  "description": "Reasonable ESLint configs for epic web devs",
9
9
  "main": "index.js",
10
10
  "type": "module",
package/typescript.json CHANGED
@@ -9,6 +9,7 @@
9
9
  "skipLibCheck": true,
10
10
  "allowImportingTsExtensions": true,
11
11
  "noUncheckedIndexedAccess": true,
12
+ "forceConsistentCasingInFileNames": true,
12
13
  "noEmit": true
13
14
  }
14
15
  }