We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ca0334 commit 05f6019Copy full SHA for 05f6019
.pre-commit-config.yaml
@@ -64,6 +64,6 @@ repos:
64
name: stylua
65
description: Format Lua code with StyLua
66
entry: bash
67
- args: [-c, 'if [ "$CI" = "true" ]; then echo "Skipping stylua in CI"; exit 0; elif command -v nix >/dev/null 2>&1; then nix shell nixpkgs#stylua -c stylua "$@"; else echo "Skipping stylua (Nix not available)"; fi', --]
+ args: [-c, 'if [ "$CI" = "true" ]; then echo "Skipping stylua in CI"; exit 0; elif command -v nix >/dev/null 2>&1; then nix --extra-experimental-features "nix-command flakes" shell nixpkgs#stylua -c stylua "$@"; else echo "Skipping stylua (Nix not available)"; fi', --]
68
language: system
69
files: \.lua$
0 commit comments