# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: check-added-large-files - id: check-executables-have-shebangs - id: check-json - id: check-shebang-scripts-are-executable exclude: '.+\.rs' # would be triggered by #![some_attribute] - id: check-symlinks - id: check-toml - id: check-yaml args: [ --allow-multiple-documents ] - id: destroyed-symlinks - id: end-of-file-fixer - id: mixed-line-ending args: [ --fix=lf ] - id: trailing-whitespace - repo: https://github.com/mozilla-l10n/moz-fluent-linter rev: v0.4.8 hooks: - id: fluent_linter files: \.ftl$ args: [--config, .github/fluent_linter_config.yml, src/uu/]