You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use @formatjs/cli to extract messages from the codebase, then upload to Lokalise translation management platform.
When I run the extract command with --format lokalise, it outputs a structured JSON with a 2 spaces indent that I want to commit (so it needs to respect the codebase conventions). But the codebase convention is to use a 4 spaces for ident.
Is there a way to customize the indent? (I assume this is the place?)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I want to use
@formatjs/cli
to extract messages from the codebase, then upload to Lokalise translation management platform.When I run the extract command with
--format lokalise
, it outputs a structured JSON with a 2 spaces indent that I want to commit (so it needs to respect the codebase conventions). But the codebase convention is to use a 4 spaces for ident.Is there a way to customize the indent? (I assume this is the place?)
Beta Was this translation helpful? Give feedback.
All reactions