attempt to add mdl

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-07-07 19:08:06 -04:00 committed by Alice Huston
parent 2e6cfb42af
commit 7c54261114
2 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
all all
rule 'MD007', :indent => 4 rule 'MD007', :indent => 2
rule 'MD013', :tables => false rule 'MD013', :tables => false

View File

@ -43,6 +43,16 @@ forEachSystem (system: {
# toml hooks # toml hooks
check-toml.enable = true; check-toml.enable = true;
# markdown hooks
mdl = {
enable = true;
settings.rules = [
"all"
"rule 'MD007', :indent => 2"
"rule 'MD013', :tables => false"
];
};
# git hooks # git hooks
check-merge-conflicts.enable = true; check-merge-conflicts.enable = true;
## prevents committing to main ## prevents committing to main