A small lint tool for react-i18next phrases and usage
Project description
react-i18next-lint
A small lint tool for react-i18next.
Install
poetry install
Execution
Extract phrase keys from i18n directory
poetry run react_i18next_lint extract-keys [i18n resources dir] > resources.tsv
Group phrase key and aggregate locales
poetry run react_i18next_lint group-key-locales resources.tsv by-locales.tsv
Validate against source code files
poetry run react_i18next_lint validate-keys by-locales.tsv [source code files]
Development
Running pytest
poetry run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for react_i18next_lint-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 297dd4ecf5dbcc1e2acdcfd26e0bdfceb81bcdfa9f33b7631c65a90bcb751c12 |
|
MD5 | cb8809b4661907d2d4420d27bb5ea0fe |
|
BLAKE2b-256 | 0bc75b162e8b7b7d41123e344ca8e9144b37a4da7f45687bbca5ac1229311d87 |