Skip to content

Commit

Permalink
ci: disable trim whitespace for markdown files
Browse files Browse the repository at this point in the history
A double whitespace at the end of a line is valid markdown so we should
not remove those.
  • Loading branch information
lievenhey committed May 17, 2024
1 parent 0ed41cf commit 0551482
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .mdlrc.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
all
rule 'MD009', :br_spaces => 2
rule 'MD013', :line_length => 120, :tables => false, :code_blocks => false
rule 'MD029', :style => :ordered
exclude_rule 'MD033'
Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ repos:
hooks:
- id: trailing-whitespace
exclude: (tests/modeltests/disassembly/)
args: ["--markdown-linebreak-ext=md,markdown"]
- id: end-of-file-fixer
- id: check-added-large-files
args: ['--maxkb=1000']
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ performance data formats under this umbrella.

## Screenshots

Here are some screenshots showing the most important features of hotspot in action:
Here are some screenshots showing the most important features of hotspot in action
test

### Visualize Data

Expand Down

0 comments on commit 0551482

Please sign in to comment.