mirror of
https://github.com/tweag/nickel.git
synced 2024-09-11 03:35:37 +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:
parent
1622fe64b7
commit
66d60a7e61
10
.markdownlint.json
Normal file
10
.markdownlint.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"default": true,
|
||||||
|
"MD013": {
|
||||||
|
"code_blocks": false,
|
||||||
|
"tables": false
|
||||||
|
},
|
||||||
|
"MD024": {
|
||||||
|
"allow_different_nesting": true
|
||||||
|
}
|
||||||
|
}
|
@ -170,6 +170,10 @@
|
|||||||
};
|
};
|
||||||
markdownlint = {
|
markdownlint = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
excludes = [
|
||||||
|
"notes/(.+)\\.md$"
|
||||||
|
"^RELEASES\\.md$"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -326,7 +330,7 @@
|
|||||||
name = channel;
|
name = channel;
|
||||||
value = buildNickel { inherit channel; isDevShell = true; };
|
value = buildNickel { inherit channel; isDevShell = true; };
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
|
|
||||||
checks = {
|
checks = {
|
||||||
# wasm-opt can take long: eschew optimizations in checks
|
# wasm-opt can take long: eschew optimizations in checks
|
||||||
|
Loading…
Reference in New Issue
Block a user