Debian Codegraph @

l10n/.pre-commit-config.yaml

raw
1 # See https://pre-commit.com for more information
2 # See https://pre-commit.com/hooks.html for more hooks
3 repos:
4 - repo: https://github.com/pre-commit/pre-commit-hooks
5 rev: v5.0.0
6 hooks:
7 - id: check-added-large-files
8 - id: check-executables-have-shebangs
9 - id: check-json
10 - id: check-shebang-scripts-are-executable
11 exclude: '.+\.rs' # would be triggered by #![some_attribute]
12 - id: check-symlinks
13 - id: check-toml
14 - id: check-yaml
15 args: [ --allow-multiple-documents ]
16 - id: destroyed-symlinks
17 - id: end-of-file-fixer
18 - id: mixed-line-ending
19 args: [ --fix=lf ]
20 - id: trailing-whitespace
21
22 - repo: https://github.com/mozilla-l10n/moz-fluent-linter
23 rev: v0.4.8
24 hooks:
25 - id: fluent_linter
26 files: \.ftl$
27 args: [--config, .github/fluent_linter_config.yml, src/uu/]