diff --git a/apps/docusaurus/docs/use-animate-presence.mdx b/apps/docusaurus/docs/use-animate-presence.mdx index 8ba36e2..1cdad6a 100644 --- a/apps/docusaurus/docs/use-animate-presence.mdx +++ b/apps/docusaurus/docs/use-animate-presence.mdx @@ -165,12 +165,11 @@ function MyComponent() { const { shouldRender, reveal, runningDuration } = useAnimatePresence({ isVisible, // disable animations if the user prefers reduced motion - duration: prefersReducedMotion ? 0 : 300 + duration: prefersReducedMotion ? 0 : 300, }) } ``` - ## Don't animate on mount Set `initial` to `true` to have the element start out visible. diff --git a/packages/wethegit-react-hooks/.eslintignore b/packages/wethegit-react-hooks/.eslintignore new file mode 100644 index 0000000..74cc8cf --- /dev/null +++ b/packages/wethegit-react-hooks/.eslintignore @@ -0,0 +1,4 @@ +dist +node_modules +.turbo +vite.config.ts \ No newline at end of file diff --git a/packages/wethegit-react-hooks/package.json b/packages/wethegit-react-hooks/package.json index 8d9b05a..2f7d1af 100644 --- a/packages/wethegit-react-hooks/package.json +++ b/packages/wethegit-react-hooks/package.json @@ -15,7 +15,7 @@ "build": "rm -rf dist && vite build", "clean": "rm -rf dist node_modules .turbo", "typecheck": "tsc --noEmit", - "lint": "eslint --fix --ext .jsx,js --ignore-path ../../.gitignore ." + "lint": "eslint --fix --ext .jsx,js ." }, "publishConfig": { "access": "public"