Skip to content

Commit

Permalink
wip: eslint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonmarcello committed Nov 28, 2023
1 parent ac942f1 commit 88492bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 1 addition & 2 deletions apps/docusaurus/docs/use-animate-presence.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions packages/wethegit-react-hooks/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist
node_modules
.turbo
vite.config.ts
2 changes: 1 addition & 1 deletion packages/wethegit-react-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 88492bd

Please sign in to comment.