chore(lint): add statix config and remove unused arguments
This commit is contained in:
+3
-1
@@ -15,8 +15,10 @@
|
||||
|
||||
scripts = {
|
||||
lint.exec = ''
|
||||
set -e
|
||||
statix check .
|
||||
deadnix --fail .
|
||||
# hardware-configuration.nix is generated; statix skips it via statix.toml
|
||||
deadnix --fail --exclude hosts/*/hardware-configuration.nix -- .
|
||||
'';
|
||||
fmt.exec = ''
|
||||
nixfmt $(git ls-files '*.nix')
|
||||
|
||||
Reference in New Issue
Block a user