File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,12 @@ check-tx-fuzzing: ## Check the transaction fuzzing tools, requires nightly Rust
32
32
check-format : # # Check code formatting
33
33
cargo +nightly fmt -- --check
34
34
35
+ .PHONY : check-md
36
+ check-md : # # Check if markdown files are properly formatted
37
+ @echo " Checking markdown formatting..."
38
+ npx prettier --check " **/*.md"
39
+ @echo " Markdown format check completed."
40
+
35
41
.PHONY : clean
36
42
clean : # # Clean build artifacts
37
43
cargo clean
@@ -40,6 +46,12 @@ clean: ## Clean build artifacts
40
46
format : # # Format code using rustfmt
41
47
cargo +nightly fmt
42
48
49
+ .PHONY : format-md
50
+ format-md : # # Format all markdown files to wrap at 80 characters
51
+ @echo " Formatting markdown files..."
52
+ npx prettier --write " **/*.md"
53
+ @echo " Markdown files have been formatted to 80 characters."
54
+
43
55
.PHONY : lint
44
56
lint : # # Run linter (clippy)
45
57
cargo clippy --all-targets -- -D warnings --allow clippy::mutable_key_type
You can’t perform that action at this time.
0 commit comments