i18n-validate
Advanced tools
Comparing version 1.2.3-next.9b7b781.0 to 1.3.0-next.01655db.0
{ | ||
"name": "i18n-validate", | ||
"version": "1.2.3-next.9b7b781.0", | ||
"version": "1.3.0-next.01655db.0", | ||
"description": "A cli tool to find invalid i18n keys, missing variables and many more", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -21,2 +21,3 @@ <div align="center"> | ||
- Fully customizable | ||
- Use of ternary operator or string concatenation using `+` operator is supported | ||
@@ -53,2 +54,3 @@ ## Usage | ||
- You can ignore a specific function by adding `// i18n-validate-disable-next-line` comment before the function call or ignore all the functions in a file by adding `/* i18n-validate-disable */` comment at the top of the file. | ||
- Dynamic keys aren't supported yet but ternary operators, string concatenation using `+` operator are supported. | ||
@@ -96,15 +98,2 @@ > **Note**: Currently, `i18n-validate` supports `typescript` and `javascript` (including `tsx` and `jsx`) source files and `json` translation files only. | ||
## TODO | ||
- [ ] Write unit tests | ||
- [ ] Add support for `yaml`, `json5` translation files | ||
- [ ] Add support for other framework specific source files (e.g. `vue`, `svelte`, `angular` etc.) | ||
- [ ] Detect unused translation keys | ||
- [ ] A vscode extension | ||
- [ ] A github action | ||
- [ ] An eslint plugin | ||
- [ ] A `--fix` flag to remove unused keys and variables | ||
_Any help to complete these tasks will be highly appreciated._ | ||
## Contributors ✨ | ||
@@ -111,0 +100,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1
9445
103