Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
i18n-validate
Advanced tools
A cli tool to find invalid i18n keys, missing variables and many more
npx i18n-validate
Usage: i18n-validate [options] <file ...>
Options:
-V, --version output the version number
-c, --config <config> Path to the config file (default:
"./i18n-validate.json")
--log-level <logLevel> Log level (default: "info")
--exclude <exclude...> Exclude files from parsing (default:
"**/node_modules/**")
--exit-on-error Exit immediately if an error is found (default:
false)
-h, --help display help for command
Examples:
$ i18next-validate "/path/to/src/app.js"
$ i18next-validate --config i18n-validate-custom.json 'src/**/*.{js,jsx}'
$ i18next-validate --exclude "**/node_modules/**" "src/**/*.{js,jsx}"
You can disable the i18n-validate
for a specific line by adding // i18n-validate-disable-next-line
before the line.
Note: Currently,
i18n-validate
only supportsts
,tsx
,js
andjsx
source files andjson
translation files.
{
"lint-staged": {
"*.{js,jsx,ts,tsx}": ["i18n-validate"]
}
}
You can customize the behavior of i18n-validate
by adding a i18n-validate.json
file to the root of your project.
{
"$schema": "https://raw.githubusercontent.com/imranbarbhuiya/i18n-validate/main/.github/i18n-validate.schema.json"
}
Note: You can also use
js
,cjs
ormjs
file and with any name you want. Just make sure to pass the path of the config file toi18n-validate
using--config
option.
If you want to support me by donating, you can do so by using any of the following methods. Thank you very much in advance!
Thanks goes to these wonderful people:
FAQs
A cli tool to find invalid i18n keys, missing variables and many more
The npm package i18n-validate receives a total of 158 weekly downloads. As such, i18n-validate popularity was classified as not popular.
We found that i18n-validate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.