Add Prettier to the CI workflows
New dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/[email protected] | environment, filesystem, unsafe | 0 |
8.39 MB | prettier-bot |
Pull Request Test Coverage Report for Build 8986872099
Details
- 0 of 0 changed or added relevant lines in 0 files are covered.
- 88 unchanged lines in 17 files lost coverage.
- Overall coverage decreased (-0.6%) to 84.218%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| crates/chia-protocol/src/fullblock.rs | 1 | 0.0% |
| crates/chia-protocol/src/end_of_sub_slot_bundle.rs | 1 | 0.0% |
| crates/chia-protocol/src/unfinished_block.rs | 1 | 0.0% |
| crates/chia-protocol/src/sub_epoch_summary.rs | 1 | 0.0% |
| crates/chia-protocol/src/coin_state.rs | 1 | 0.0% |
| crates/chia-protocol/src/peer_info.rs | 1 | 0.0% |
| crates/chia-protocol/src/header_block.rs | 1 | 0.0% |
| crates/chia-protocol/src/unfinished_header_block.rs | 1 | 0.0% |
| crates/chia-protocol/src/proof_of_space.rs | 1 | 0.0% |
| crates/chia-protocol/src/pool_target.rs | 1 | 0.0% |
| <!-- | Total: | 88 |
| Totals | |
|---|---|
| Change from base Build 8908521951: | -0.6% |
| Covered Lines: | 11735 |
| Relevant Lines: | 13934 |
💛 - Coveralls
when I run pre-commit run --all in this branch, I get this:
[warn] README.html
[warn] wasm/pkg/chia_wasm_bg.js
[warn] wasm/pkg/chia_wasm.d.ts
[warn] wasm/pkg/chia_wasm.js
[warn] Code style issues found in 4 files. Run Prettier to fix.
the output gets messed up as there appears to be some carriage returns and newlines in there. It seems the command fails though.
$ echo $?
1
when I run
pre-commit run --allin this branch, I get this:[warn] README.html [warn] wasm/pkg/chia_wasm_bg.js [warn] wasm/pkg/chia_wasm.d.ts [warn] wasm/pkg/chia_wasm.js [warn] Code style issues found in 4 files. Run Prettier to fix.the output gets messed up as there appears to be some carriage returns and newlines in there. It seems the command fails though.
It passes for me, perhaps it's an auto-CRLF issue?