chore: reformat ARB files to 4-space indent#7139
Conversation
Greptile SummaryThis PR reformats all 48 ARB localization files from 2-space to 4-space JSON indentation to match the enforcement policy in Confidence Score: 5/5Safe to merge — purely cosmetic whitespace change with no logic or content modifications. All 48 files show equal insertions and deletions (260,540 each), confirming this is a whitespace-only reformat from 2-space to 4-space indentation. The pre-commit hook in scripts/pre-commit explicitly enforces this standard via jq --indent 4. No ARB string values, keys, or metadata were altered. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Contributor stages ARB file] --> B{pre-commit hook active?}
B -- No --> C[2-space indent committed\nto main branch]
B -- Yes --> D[jq --indent 4 reformats file]
D --> E[4-space indent committed]
C --> F[Formatting drift accumulates\nacross 48 ARB files]
F --> G[This PR: bulk reformat\nvia jq --indent 4]
G --> E
Reviews (1): Last reviewed commit: "chore: reformat ARB files to 4-space ind..." | Re-trigger Greptile |
Reapply 4-space indentation via `jq --indent 4` to all 49 ARB localization files. Recent commits (Apr 26-27) added ARB changes without the pre-commit hook running, reverting formatting back to 2-space indent. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
b3bd5f5 to
014c051
Compare
|
lgtm |
Summary
jq --indent 4Context
The repo's
scripts/pre-commithook enforces 4-space indent on ARB files. Recent l10n contributions landed without this hook active, causing all ARB files to revert to 2-space formatting.@aaravgarg @krushnarout — please make sure you have the pre-commit hook installed to keep the project standardized:
Test plan
jq --indent 4 . <file>on all 49 ARB files (48 changed, 1 already compliant)by AI for @beastoin