flake/dev/pre-commit: simplify typos extend-idenitifers interface
Link: https://github.com/nix-community/stylix/pull/2159 Link: https://github.com/nix-community/stylix/pull/2180 Reviewed-by: Daniel Thwaites <danth@danth.me>
This commit is contained in:
parent
9b4a5eb409
commit
9863e1770d
1 changed files with 4 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
imports = [ inputs.git-hooks.flakeModule ];
|
||||
|
||||
perSystem =
|
||||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
ci.buildbot = { inherit (config.checks) pre-commit; };
|
||||
|
||||
|
|
@ -37,7 +37,9 @@
|
|||
};
|
||||
typos = {
|
||||
enable = true;
|
||||
settings.config.default.extend-identifiers.MrSom3body = "MrSom3body";
|
||||
settings.config.default.extend-identifiers = lib.genAttrs [
|
||||
"MrSom3body"
|
||||
] lib.id;
|
||||
};
|
||||
yamllint.enable = true;
|
||||
# keep-sorted end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue