Skip to content

Commit

Permalink
style: run linting
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermerodz committed Mar 6, 2024
1 parent ad80568 commit 87c7a1f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dev:test": "turbo run dev --filter=test...",
"test": "turbo run test --filter=test...",
"type-check": "turbo run type-check",
"lint": "turbo run lint",
"lint:lib": "turbo run lint --filter=input-otp",
"format": "prettier --write .",
"prerelease": "run-p test",
"release": "cd ./packages/input-otp && cp ../../README.md . && npm publish && rimraf ./README.md && cd ../.."
Expand Down
2 changes: 1 addition & 1 deletion packages/input-otp/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from './input'
export * from './regexp'
export { OTPInputProps, SlotProps, RenderProps } from './types'
export { OTPInputProps, SlotProps, RenderProps } from './types'
4 changes: 2 additions & 2 deletions packages/input-otp/src/sync-timeouts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ export function syncTimeouts(cb: (...args: any[]) => unknown): number[] {
const t1 = setTimeout(cb, 0) // For faster machines
const t2 = setTimeout(cb, 1_0)
const t3 = setTimeout(cb, 5_0)
return [t1,t2,t3]
return [t1, t2, t3]

// const t3 = setTimeout(cb, 5_0)
// return [t3]
}
}
2 changes: 1 addition & 1 deletion packages/input-otp/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ export enum SelectionType {
}
export interface Metadata {
lastClickTimestamp: number
}
}

0 comments on commit 87c7a1f

Please sign in to comment.