Skip to content

Commit f2c0a93

Browse files
committed
chore(lint): use vale to check markdown
1 parent 655c56e commit f2c0a93

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ devenv.local.nix
1313
# pre-commit
1414
.pre-commit-config.yaml
1515

16+
# vale
17+
.vale.styles/
18+
1619
coverage.*

.vale.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
MinAlertLevel = suggestion
2+
StylesPath = .vale.styles
3+
4+
[*.md]
5+
BasedOnStyles = Vale
6+
7+
Vale.Spelling = warning

devenv.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252

5353
git-hooks.hooks.actionlint.enable = true;
5454
git-hooks.hooks.nixfmt-rfc-style.enable = true;
55+
git-hooks.hooks.vale.enable = true;
5556

5657
scripts."wasm-trampoline-coverage" = {
5758
description = "Run wasm-trampoline-coverage";

0 commit comments

Comments
 (0)