chore: cleanup .prettierignore file#24828
Conversation
5b2cd60 to
55b0242
Compare
| development/chromereload.js | ||
| development/ts-migration-dashboard/filesToConvert.json | ||
| development/ts-migration-dashboard/build/** | ||
| public/**/* |
There was a problem hiding this comment.
This was removed, it did not exist
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #24828 +/- ##
===========================================
- Coverage 69.74% 69.72% -0.02%
===========================================
Files 1400 1400
Lines 49423 49440 +17
Branches 13669 13677 +8
===========================================
+ Hits 34470 34472 +2
- Misses 14953 14968 +15 ☔ View full report in Codecov by Sentry. |
| lavamoat/**/policy.json | ||
| dist/**/* | ||
| builds/**/* | ||
| test-*/**/* |
There was a problem hiding this comment.
This was split into these two lines:
/test-artifacts/**/*
/test/test-results/**/*
Builds ready [5aedb26]
Page Load Metrics (605 ± 516 ms)
Bundle size diffs
|
| @@ -1,18 +1,16 @@ | |||
| node_modules/**/* | |||
There was a problem hiding this comment.
This was listed twice, you can see that the second entry is preserved in this diff
|
I wasn't sure if ESLint would treat the leading slash in the same way (e.g. leading slash means it's specifically in the project root, no leading slash matches the path in any subdirectory or in the root), the docs weren't clear on the subject. But I tested it out by adding test files in the root and in a subdirectory, each with a lint error. And I validated that it treats them the same way. My test was to create |
Builds ready [c2063f4]
Page Load Metrics (625 ± 520 ms)
Bundle size diffs
|
c2063f4 to
52dcd23
Compare
Builds ready [52dcd23]
Page Load Metrics (47 ± 4 ms)
|
7940745 to
3cbb34a
Compare
3cbb34a to
ad035ce
Compare
Builds ready [ad035ce]
Page Load Metrics (283 ± 321 ms)
Bundle size diffs
|
ad035ce to
aeacb04
Compare
Builds ready [aeacb04]
Page Load Metrics (50 ± 2 ms)
Bundle size diffs
|
aeacb04 to
e68cecf
Compare
Builds ready [e68cecf]
Page Load Metrics (43 ± 1 ms)
Bundle size diffs
|
e68cecf to
8833011
Compare
Builds ready [8833011]
Page Load Metrics (223 ± 236 ms)
Bundle size diffs
|
20aff11 to
52f1701
Compare
A few invalid entries have been removed from the `.prettierignore` file, and the remaining entries have been alphabetized so that they are easier to quickly scan. Additionally, a leading slash has been added for any entries that are intended to be relative to the repository root directory. This was so that it would be more explicit which patterns would apply to subdirectories (this ambiguity led to me missing the `test/test-results` directory on the first pass). I did this because I was investigating a strange ESLint error, and these entries made the investigation a little more complicated than it needed to be.
52f1701 to
f398324
Compare
|
Builds ready [f398324]
Page Load Metrics (167 ± 173 ms)
Bundle size diffs
|



Description
A few invalid entries have been removed from the
.prettierignorefile, and the remaining entries have been alphabetized so that they are easier to quickly scan.I did this because I was investigating a strange ESLint error, and these entries made the investigation a little more complicated than it needed to be.
Related issues
N/A
Manual testing steps
N/A
Screenshots/Recordings
N/A
Pre-merge author checklist
Pre-merge reviewer checklist