mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Use mozilla fluent linter (and remove mine)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
---
|
||||
ID01:
|
||||
enabled: true
|
||||
exclusions:
|
||||
messages: []
|
||||
files: []
|
||||
ID02:
|
||||
enabled: true
|
||||
min_length: 7
|
||||
VC:
|
||||
disabled: true
|
||||
# Disable: # TE01: single quote instead of apostrophe for genitive (foo's)
|
||||
TE01:
|
||||
enabled: false
|
||||
# TE03: single quotes ('foo')
|
||||
TE03:
|
||||
enabled: false
|
||||
# TE04: Double-quoted strings should use Unicode " instead of "foo".
|
||||
TE04:
|
||||
enabled: false
|
||||
# Disable: TE05: 3 dots for ellipsis ("...")
|
||||
TE05:
|
||||
enabled: false
|
||||
# Should be fixed
|
||||
VC01:
|
||||
disabled: true
|
||||
ID03:
|
||||
enabled: true
|
||||
@@ -19,10 +19,12 @@ repos:
|
||||
args: [ --fix=lf ]
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/uutils/pre-commit-fluent-hook
|
||||
rev: v0.0.1
|
||||
- repo: https://github.com/mozilla-l10n/moz-fluent-linter
|
||||
rev: v0.4.8
|
||||
hooks:
|
||||
- id: check-fluent
|
||||
- id: fluent_linter
|
||||
files: \.ftl$
|
||||
args: [--config, .github/fluent_linter_config.yml, src/uu/]
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user