diff --git a/.mdl_style.rb b/.mdl_style.rb index 6b9b7c9..6a1bb85 100644 --- a/.mdl_style.rb +++ b/.mdl_style.rb @@ -1,5 +1,5 @@ #!/usr/bin/env ruby all -rule 'MD007', :indent => 4 +rule 'MD007', :indent => 2 rule 'MD013', :tables => false diff --git a/checks.nix b/checks.nix index 3cfebe5..77653e5 100644 --- a/checks.nix +++ b/checks.nix @@ -43,6 +43,16 @@ forEachSystem (system: { # toml hooks check-toml.enable = true; + # markdown hooks + mdl = { + enable = true; + settings.rules = [ + "all" + "rule 'MD007', :indent => 2" + "rule 'MD013', :tables => false" + ]; + }; + # git hooks check-merge-conflicts.enable = true; ## prevents committing to main