1
1
mirror of https://github.com/tweag/nickel.git synced 2024-08-15 14:41:18 +03:00

Enable markdown linting

Add configuration for markdown linting (disabling some rules) and enable
markdown linting in the pre-commit hooks and the checks of the flake.
This commit is contained in:
Yann Hamdaoui 2022-08-03 16:16:22 +02:00
parent 1622fe64b7
commit 66d60a7e61
2 changed files with 15 additions and 1 deletions

10
.markdownlint.json Normal file
View File

@ -0,0 +1,10 @@
{
"default": true,
"MD013": {
"code_blocks": false,
"tables": false
},
"MD024": {
"allow_different_nesting": true
}
}

View File

@ -170,6 +170,10 @@
};
markdownlint = {
enable = true;
excludes = [
"notes/(.+)\\.md$"
"^RELEASES\\.md$"
];
};
};
};
@ -326,7 +330,7 @@
name = channel;
value = buildNickel { inherit channel; isDevShell = true; };
}
));
));
checks = {
# wasm-opt can take long: eschew optimizations in checks