mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 22:13:28 +01:00
style: Disable inherit pattern check in statix
As discussed in [this comment](https://github.com/nix-community/disko/pull/143#discussion_r1097912402), as a blanket rule converting everything possible to `inherit` like statements can hurt readability. Add config file for statix to disable these checks and fixes, then rerun the autofix with these options.
This commit is contained in:
11 files changed
+16
-12
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ let
|
||||
};
|
||||
in
|
||||
{
|
||||
inherit types;
|
||||
types = types;
|
||||
create = cfg: types.diskoLib.create (eval cfg).config.devices;
|
||||
createScript = cfg: pkgs: pkgs.writeScript "disko-create" ''
|
||||
#!/usr/bin/env bash
|
||||
|
||||
Reference in new issue
Block a user