Skip to content

Commit

Permalink
ci: mdl adjustments (#13)
Browse files Browse the repository at this point in the history
* ci(mdl): adjust rules

* chore: add trailing line to .editorconfig

* fix(mdl): use dash unordered list style
  • Loading branch information
lukeify authored Jul 21, 2024
1 parent 1ad12e9 commit 8d17b53
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
max_line_length = off
max_line_length = off
12 changes: 12 additions & 0 deletions .mdl_style.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
all

# Prefer pound keys to start headers
rule 'MD003', :style => :atx

# Prefer dashes for unordered lists
rule 'MD004', :style => :dash

# Prefer four spaces for unordered list indentation
rule 'MD007', :indent => 4

# Line length is disabled as I write according to https://sembr.org
exclude_rule 'MD013'

# Allow headers to have the same content in different nesting contexts
rule 'MD024', :allow_different_nesting => true

# Allow trailing question marks in headers
rule 'MD026', :punctuation => '.,;:!'

Expand Down
4 changes: 2 additions & 2 deletions Brotli with Nginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ This process must be repeated whenever `nginx` is updated via package manager as

If you are dealing with PGP key issues with Nginx's package repositories:
* [Updating the PGP Key for NGINX Software][3]
* [Ubuntu installation guide][4]
- [Updating the PGP Key for NGINX Software][3]
- [Ubuntu installation guide][4]
[1]: https://github.com/google/ngx_brotli
[2]: https://github.com/google/ngx_brotli?tab=readme-ov-file#installation
Expand Down

0 comments on commit 8d17b53

Please sign in to comment.