Skip to content

Commit

Permalink
chore: ignore tap files when formatting (#5143)
Browse files Browse the repository at this point in the history
These files are not tracked by git and result in a noticeable
lag in prettier whilst they are being processed.

See here for an example of the ~4.5second delay caused by prettier.

```
.tap/coverage/01fec6e5-492e-4f01-baa6-69022efbebfc.json 15ms
.tap/coverage/05a96cf2-7cea-4e31-8d82-745c88fbd122.json 224ms
.tap/coverage/093b21d5-b8a4-4dd1-9815-e669729363b2.json 80ms
.tap/coverage/4c57c24d-61e9-41d8-912a-8944b9e3dd85.json 15ms
.tap/coverage/51be6d29-8498-42b5-b648-4331a8cc1620.json 2430ms
.tap/coverage/77a86007-79d2-403a-9fd0-0099176628eb.json 58ms
.tap/coverage/ad188bc4-8e9f-42ed-bdbb-febdf9e2fd70.json 2213ms
.tap/coverage/e3b30972-2569-41f3-a2f0-0b516524c56e.json 56ms
.tap/coverage/e4e079ea-f384-434c-8a8f-430f6bda7501.json 16ms
.tap/coverage/ec4b832d-d31c-40b7-8657-48b874219100.json 18ms
.tap/coverage/f47299fe-8a09-46ac-99f8-33209e0bb687.json 5ms
.tap/processinfo/01fec6e5-492e-4f01-baa6-69022efbebfc.json 4ms
.tap/processinfo/05a96cf2-7cea-4e31-8d82-745c88fbd122.json 5ms
.tap/processinfo/093b21d5-b8a4-4dd1-9815-e669729363b2.json 4ms
.tap/processinfo/4c57c24d-61e9-41d8-912a-8944b9e3dd85.json 3ms
.tap/processinfo/51be6d29-8498-42b5-b648-4331a8cc1620.json 5ms
.tap/processinfo/77a86007-79d2-403a-9fd0-0099176628eb.json 4ms
.tap/processinfo/ad188bc4-8e9f-42ed-bdbb-febdf9e2fd70.json 5ms
.tap/processinfo/e3b30972-2569-41f3-a2f0-0b516524c56e.json 4ms
.tap/processinfo/e4e079ea-f384-434c-8a8f-430f6bda7501.json 3ms
.tap/processinfo/ec4b832d-d31c-40b7-8657-48b874219100.json 4ms
.tap/processinfo/f47299fe-8a09-46ac-99f8-33209e0bb687.json 3ms
```
  • Loading branch information
thisislawatts committed Apr 2, 2024
1 parent 3711b70 commit e3925cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test-output
test-results
test/**/workspaces
.iac-data

.tap
src/cli/commands/test/iac/local-execution/parsers/hcl-to-json/parser.js
src/cli/commands/test/iac/local-execution/parsers/hcl-to-json-v2/parser.js

Expand Down

0 comments on commit e3925cc

Please sign in to comment.