diff --git a/.husky/install.mjs b/.husky/install.mjs deleted file mode 100644 index 026d396bf..000000000 --- a/.husky/install.mjs +++ /dev/null @@ -1,8 +0,0 @@ -// Skip Husky install in production and CI -// http://typicode.github.io/husky/how-to.html -if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') { - process.exit(0) -} -const husky = (await import('husky')).default -// eslint-disable-next-line no-console -console.log(husky()) diff --git a/.husky/pre-push b/.husky/pre-push deleted file mode 100644 index ad4e01ef9..000000000 --- a/.husky/pre-push +++ /dev/null @@ -1,25 +0,0 @@ -# NOTE: Don't fail immediately after error -# This allows us to echo messages even if the linter exits with an error. -set +e - -# NOTE: --silent to keep pnpm from echoing, e.g., "> @tresjs/core[...] lint" -# --max-warnings=0 to fail on errors *and* warnings -pnpm --silent lint --max-warnings=0 - -# NOTE: Capture linter exit status. -LINT_STATUS=$? - -# NOTE: If linting failed, inform user how to proceed. -if [[ $LINT_STATUS != 0 ]]; then - echo " -To fix linter problems: - pnpm lint --fix – fix automatically fixable problems - pnpm lint – print a list of problems to fix by hand - -To skip this verification and push anyway (not recommended): - git push --no-verify <...> -" -fi - -# NOTE: +e was set, so we have to return an exit status. -exit $LINT_STATUS \ No newline at end of file diff --git a/docs/.vitepress/theme/components/LocalOrbitControls.vue b/docs/.vitepress/theme/components/LocalOrbitControls.vue index 2576a86d3..e41ec93b5 100644 --- a/docs/.vitepress/theme/components/LocalOrbitControls.vue +++ b/docs/.vitepress/theme/components/LocalOrbitControls.vue @@ -1,10 +1,10 @@