repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 hooks: - id: check-executables-have-shebangs - id: check-shebang-scripts-are-executable - id: end-of-file-fixer exclude: ^config\/nvim\/lazy-lock\.json$ - id: trailing-whitespace - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.10.0.1 hooks: - id: shellcheck exclude: | (?x)^( config\/zsh\/.*| home/\.zshenv )$ - repo: https://github.com/rwxcorp/pre-commit-lua.git rev: v1.0.0 hooks: - id: stylua args: [-f, config/nvim/stylua.toml] files: ^config\/nvim\/.*lua$