@goodrequest/check-locales-script
0.0.2 • Public • Published Check locales script runnable in husky pre-commit hook
Prerequisites
Setup
- make sure i18next-scanner.config is set up properly
- make sure scan command will run before this script
Implementation (example pre-commit file)
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
i18next-scanner 'src/**/*.ts' && npx GoodRequest/check-locales-script && npx lint-staged
Keywords
noneInstall
npm i @goodrequest/check-locales-script
Weekly Downloads