Skip to content

Lint fixed husky added #26

Lint fixed husky added

Lint fixed husky added #26

Triggered via pull request January 22, 2024 08:21
Status Failure
Total duration 33s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: src/components/AddMembersModal/index.tsx#L110
React Hook useEffect has a missing dependency: 'createSectionGroup'. Either include it or remove the dependency array
lint: src/components/AddMembersModal/index.tsx#L137
React Hook useEffect has a missing dependency: 'sectionedGroupUserList'. Either include it or remove the dependency array
lint: src/components/AddMembersModal/styles.ts#L6
React Hook "useTheme" is called in function "getStyles" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: src/components/ChooseCategoryModal/styles.ts#L6
React Hook "useTheme" is called in function "getStyles" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: src/components/CreatePostModal/styles.ts#L6
React Hook "useTheme" is called in function "getStyles" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: src/components/CustomTab/styles.ts#L6
React Hook "useTheme" is called in function "getStyles" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: src/components/EditCommentModal/styles.ts#L6
React Hook "useTheme" is called in function "getStyles" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: src/components/EditPostModal/index.tsx#L72
React Hook useEffect has a missing dependency: 'getPostInfo'. Either include it or remove the dependency array
lint: src/components/EditPostModal/index.tsx#L211
React Hook useEffect has a missing dependency: 'processVideo'. Either include it or remove the dependency array
lint: src/components/EditPostModal/styles.ts#L6
React Hook "useTheme" is called in function "getStyles" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: src/components/Social/CommentList/index.tsx#L282
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “CommentList” and pass data as props
lint: src/components/Social/PendingPostList/index.tsx#L141
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “PendingPostList” and pass data as props
lint: src/components/Social/PostList/index.tsx#L422
'postData' is already declared in the upper scope on line 88 column 10
lint: src/components/Social/PostList/index.tsx#L431
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “PostList” and pass data as props
lint: src/components/react-native-image-viewing/dist/ImageViewing.js#L72
Expected 'undefined' and instead saw 'void'
lint: src/components/react-native-image-viewing/dist/ImageViewing.js#L72
Expected 'undefined' and instead saw 'void'
lint: src/components/react-native-image-viewing/dist/ImageViewing.js#L73
Expected 'undefined' and instead saw 'void'
lint: src/components/react-native-image-viewing/dist/ImageViewing.js#L74
Expected 'undefined' and instead saw 'void'