> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file - Already up to date Done in 429ms using pnpm v11.5.2 [STARTED] Preparing lint-staged... [COMPLETED] Preparing lint-staged... [STARTED] Running tasks for staged files... [STARTED] package.json — 67 files [STARTED] *{.js,.jsx,.ts,.tsx} — 62 files [STARTED] eslint --cache --fix [FAILED] eslint --cache --fix [FAILED] [FAILED] eslint --cache --fix [FAILED] [COMPLETED] Running tasks for staged files... [STARTED] Applying modifications from tasks... [SKIPPED] Skipped because of errors from tasks. [STARTED] Reverting to original state because of errors... [COMPLETED] Reverting to original state because of errors... [STARTED] Cleaning up temporary files... [COMPLETED] Cleaning up temporary files... ✖ eslint --cache --fix: There are suppressions left that do not occur anymore. Consider re-running the command with `--prune-suppressions`. /home/xan/Development/jollywhoppers.com/witchsky/src/ageAssurance/components/NoAccessScreen.tsx 79:5 warning React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior react-compiler/react-compiler /home/xan/Development/jollywhoppers.com/witchsky/src/ageAssurance/debug.ts 11:25 warning Unexpected constant truthiness on the left-hand side of a `||` expression no-constant-binary-expression 20:34 warning Unexpected constant truthiness on the left-hand side of a `||` expression no-constant-binary-expression 33:28 warning Unexpected constant truthiness on the left-hand side of a `||` expression no-constant-binary-expression /home/xan/Development/jollywhoppers.com/witchsky/src/lib/strings/url-helpers.ts 348:21 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call 349:17 error Unsafe member access .error on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access 349:37 error Unsafe member access .listed on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access 349:58 error Unsafe member access .domain on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access 353:15 error Unsafe member access .subdomain on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access 353:40 error Unsafe member access .subdomain on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access 354:15 error Unsafe member access .domain on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access /home/xan/Development/jollywhoppers.com/witchsky/src/state/cache/profile-shadow.ts 149:5 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). /home/xan/Development/jollywhoppers.com/witchsky/src/state/cache/profile-shadow.ts:149:5 147 | 148 | useEffect(() => { > 149 | setTrackedDids(prev => { | ^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 150 | const currentDids = new Set(prev) 151 | let hasNew = false 152 | for (const slice of data?.flatMap(page => page.slices) ?? []) { react-hooks/set-state-in-effect 215:5 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). /home/xan/Development/jollywhoppers.com/witchsky/src/state/cache/profile-shadow.ts:215:5 213 | 214 | useEffect(() => { > 215 | setTrackedDids(prev => { | ^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 216 | const currentDids = new Set(prev) 217 | let hasNew = false 218 | for (const post of posts ?? []) { react-hooks/set-state-in-effect /home/xan/Development/jollywhoppers.com/witchsky/src/state/session/agent.ts 450:12 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call /home/xan/Development/jollywhoppers.com/witchsky/src/state/session/index.tsx 69:3 error Async method 'createEphemeralAgent' has no 'await' expression @typescript-eslint/require-await 330:36 warning `import()` type annotations are forbidden @typescript-eslint/consistent-type-imports /home/xan/Development/jollywhoppers.com/witchsky/src/view/com/composer/Composer.tsx 28:8 warning Using exported name 'ProgressCircle' as identifier for default export import-x/no-named-as-default 289:5 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). /home/xan/Development/jollywhoppers.com/witchsky/src/view/com/composer/Composer.tsx:289:5 287 | 288 | useEffect(() => { > 289 | setActiveAccountDid(initialActiveAccountDid ?? currentDid) | ^^^^^^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 290 | }, [initialActiveAccountDid, currentDid]) 291 | 292 | const {closeComposer} = useComposerControls() react-hooks/set-state-in-effect 1088:25 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 1093:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 1217:6 warning React Hook useCallback has a missing dependency: 'omitViaField'. Either include it or remove the dependency array react-hooks/exhaustive-deps 1274:9 error Error: Calling setState synchronously within an effect can trigger cascading renders Effects are intended to synchronize state between React and external systems such as manually updating the DOM, state management libraries, or other platform APIs. In general, the body of an effect should do one or both of the following: * Update external systems with the latest state from React. * Subscribe for updates from some external system, calling setState in a callback function when external state changes. Calling setState synchronously within an effect body causes cascading renders that can hurt performance, and is not recommended. (https://react.dev/learn/you-might-not-need-an-effect). /home/xan/Development/jollywhoppers.com/witchsky/src/view/com/composer/Composer.tsx:1274:9 1272 | } 1273 | if (erroredVideos > 0) { > 1274 | setPublishOnUpload(false) | ^^^^^^^^^^^^^^^^^^ Avoid calling setState() directly within an effect 1275 | } else if (uploadingVideos === 0) { 1276 | setPublishOnUpload(false) 1277 | void onPressPublish() react-hooks/set-state-in-effect 1384:23 error Promise-returning function provided to attribute where a void return was expected @typescript-eslint/no-misused-promises 1385:27 error Promise-returning function provided to attribute where a void return was expected @typescript-eslint/no-misused-promises 1503:27 error Promise-returning function provided to attribute where a void return was expected @typescript-eslint/no-misused-promises 1682:25 error Promise-returning function provided to attribute where a void return was expected @typescript-eslint/no-misused-promises 1995:21 error Promise-returning function provided to attribute where a void return was expected @typescript-eslint/no-misused-promises 2103:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 2103:59 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any /home/xan/Development/jollywhoppers.com/witchsky/src/view/com/posts/PostFeed.tsx 466:9 warning useState call is not destructured into value + setter pair react/hook-use-state 785:6 warning React Hook useMemo has missing dependencies: 'disableComposerPrompt' and 'hideUnreplyablePosts'. Either include them or remove the dependency array react-hooks/exhaustive-deps 1021:6 warning React Hook useCallback has a missing dependency: 't.palette.primary_500'. Either include it or remove the dependency array react-hooks/exhaustive-deps ✖ 32 problems (22 errors, 10 warnings) husky - pre-commit script failed (code 1)