We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c6e4a5 commit 0e6544aCopy full SHA for 0e6544a
.changeset/great-apples-whisper.md
@@ -0,0 +1,5 @@
1
+---
2
+"typescript-eslint-parser-for-extra-files": patch
3
4
+
5
+fix: bug for useCaseSensitiveFileNames
src/ts.ts
@@ -363,8 +363,8 @@ function distinctArray(...list: (string | null | undefined)[]) {
363
return [
364
...new Set(
365
ts.sys.useCaseSensitiveFileNames
366
- ? list.map((s) => s?.toLowerCase())
367
- : list
+ ? list
+ : list.map((s) => s?.toLowerCase())
368
),
369
].filter((s): s is string => s != null);
370
}
0 commit comments