bulk rename to flupdt, add CLI, add README, add .gitignore
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
15
checks.nix
15
checks.nix
@ -4,6 +4,9 @@
|
||||
formatter,
|
||||
...
|
||||
}:
|
||||
let
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run {
|
||||
src = ./.;
|
||||
@ -43,6 +46,18 @@
|
||||
# toml hooks
|
||||
check-toml.enable = true;
|
||||
|
||||
# markdown hooks
|
||||
mdl = {
|
||||
enable = true;
|
||||
settings.style =
|
||||
(pkgs.writeText ".mdl_style.rb" ''
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
all
|
||||
rule 'MD013', :tables => false
|
||||
'').outPath;
|
||||
};
|
||||
|
||||
# git hooks
|
||||
check-merge-conflicts.enable = true;
|
||||
## prevents committing to main
|
||||
|
Reference in New Issue
Block a user