diff --git a/.husky/pre-commit b/.husky/pre-commit index 8ff502612..11e9a358a 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,3 +1,3 @@ -npm run docs -git update-index --add docs/dist/documentation.md +#npm run docs +#git update-index --add docs/dist/documentation.md npx --no lint-staged diff --git a/package.json b/package.json index 6af2e9d6b..63a120f67 100644 --- a/package.json +++ b/package.json @@ -111,7 +111,9 @@ }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ - "eslint --fix" + "eslint --fix", + "npm run docs", + "git update-index --add docs/dist/documentation.md" ] }, "type": "module"