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

lingui compile should fail with a non-zero exit code when there are validation failures #1420

Open
timofei-iatsenko opened this issue Feb 9, 2023 · 0 comments

Comments

@timofei-iatsenko
Copy link
Collaborator

Similarly to #1419

  1. We need to check that all potential problems during compiling process with lingui compile --strict are causing non zero-exit code.
  2. There are plugins for webpack / snowpack / vite which uses the same compilation mechanism BUT don't have "--strict" feature.
    We should provide feature parity with cli compiler to these plugins.

Also during this work we can add more validation to catalogs. IT would be great if we would validate ICU messages and found issues earlier. The most useful would be validation of ICU syntax and validity of plural forms. (that's probably we can take as separate task)

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

No branches or pull requests

2 participants