repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-merge-conflict - id: check-added-large-files args: ['--maxkb=500'] - id: check-toml - id: check-yaml - id: detect-private-key - id: mixed-line-ending args: ['--fix=lf'] - repo: local hooks: - id: luacheck name: luacheck entry: luacheck language: system types: [lua] - id: stylua name: stylua entry: stylua --check language: system types: [lua]