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:
Chris Scutcher committed 2023-02-07 15:37:12 +00:00
1 parent 08435eec4b
commit 4ba8181319
11 files changed
+16 -12

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
# Example to create a bios compatible gpt partition
{ disks ? [ "/dev/vdb" ], lib, ... }: {
disk = lib.genAttrs [ (lib.head disks) ] (device: {
inherit device;
device = device;
type = "disk";
content = {
type = "table";