Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Prettier for YAML translations #728

Closed
jelhan opened this issue Nov 5, 2023 · 1 comment · Fixed by #733
Closed

Use Prettier for YAML translations #728

jelhan opened this issue Nov 5, 2023 · 1 comment · Fixed by #733
Labels

Comments

@jelhan
Copy link
Owner

jelhan commented Nov 5, 2023

No description provided.

@jelhan jelhan added the internal label Nov 5, 2023
@jelhan
Copy link
Owner Author

jelhan commented Nov 5, 2023

We should setup ESLint for YAML as well. There is even a rule to enforce order of keys in object: https://ota-meshi.github.io/eslint-plugin-yml/rules/sort-keys.html That will allow us enforcing a consistent order between the translation files. Just need to explore how well Weblate integrates with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant