diff --git a/docs/docs/tools/validator.mdx b/docs/docs/tools/validator.mdx index 346263a3b..dc6c7bb78 100644 --- a/docs/docs/tools/validator.mdx +++ b/docs/docs/tools/validator.mdx @@ -8,7 +8,7 @@ This package provides validation for translation files. It validates that the JS ### Installation - Set up [husky](https://github.com/typicode/husky) and [lint-staged](https://github.com/okonet/lint-staged#examples) -- Run `npm i @ngneat/transloco-validator` +- Run `npm i @ngneat/transloco-validator --save-dev` ### Usage ```json file="package.json" @@ -19,7 +19,7 @@ This package provides validation for translation files. It validates that the JS } }, "lint-staged": { - "src/i18n/*.json": ["transloco-validator"] + "src/assets/i18n/*.json": ["transloco-validator"] } } ```