Commit f49e1a0
fix: detect and skip ESLint AND glob patterns (nested arrays in files) (#323)
* Initial plan
* Initial plan for fixing nested arrays in files field
Co-authored-by: camc314 <18101008+camc314@users.noreply.github.com>
* Fix nested arrays in files field by flattening them
Co-authored-by: camc314 <18101008+camc314@users.noreply.github.com>
* Remove package-lock.json and add to gitignore (project uses pnpm)
Co-authored-by: camc314 <18101008+camc314@users.noreply.github.com>
* u
* Apply suggestions from code review
Signed-off-by: Cameron <cameron.clark@hey.com>
* Detect and skip ESLint AND glob patterns (nested arrays) with reporting
Co-authored-by: Sysix <3897725+Sysix@users.noreply.github.com>
* Refactor files processing logic into separate files.ts module with unit tests
Co-authored-by: Sysix <3897725+Sysix@users.noreply.github.com>
* Simplify processConfigFiles to return array directly and report nested arrays individually
Co-authored-by: Sysix <3897725+Sysix@users.noreply.github.com>
* Remove unnecessary undefined check in processConfigFiles
Co-authored-by: Sysix <3897725+Sysix@users.noreply.github.com>
* Fix lint errors: use DefaultReporter instead of inline objects in tests
Co-authored-by: Sysix <3897725+Sysix@users.noreply.github.com>
* Apply suggestion from @Sysix
Signed-off-by: Alexander S. <sysix@sysix-coding.de>
* u
---------
Signed-off-by: Cameron <cameron.clark@hey.com>
Signed-off-by: Alexander S. <sysix@sysix-coding.de>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: camc314 <18101008+camc314@users.noreply.github.com>
Co-authored-by: Cameron Clark <cameron.clark@hey.com>
Co-authored-by: Sysix <3897725+Sysix@users.noreply.github.com>
Co-authored-by: Alexander S. <sysix@sysix-coding.de>1 parent d0b6897 commit f49e1a0
3 files changed
+129
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
79 | 87 | | |
80 | | - | |
81 | | - | |
82 | | - | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
| |||
0 commit comments