The CLI validates the configuration and disallow for unknown keys or values to protect you from creating invalid configurations.
However, you may need to define $scheme
or add comments to your configuration and for this reason, any key prefixed with the symbol $
is ignored.
The configuration below is fully valid for Localazy CLI from version 1.7.0+ above:
{
"$scheme": "localazy/cli",
"upload": {
"files": [
{
"$comment": "The rule for the main app locales.",
"type": "json",
"$features_comment": "The next line is commented out.",
"$features": ["filter_untranslated"],
"pattern": "app/**/locales/*.json"
}
]
}
}