Lint fixed husky added #26
Annotations
10 errors and 10 warnings
Lint files:
src/components/AddMembersModal/index.tsx#L110
React Hook useEffect has a missing dependency: 'createSectionGroup'. Either include it or remove the dependency array
|
Lint files:
src/components/AddMembersModal/index.tsx#L137
React Hook useEffect has a missing dependency: 'sectionedGroupUserList'. Either include it or remove the dependency array
|
Lint files:
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 files:
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 files:
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 files:
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 files:
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 files:
src/components/EditPostModal/index.tsx#L72
React Hook useEffect has a missing dependency: 'getPostInfo'. Either include it or remove the dependency array
|
Lint files:
src/components/EditPostModal/index.tsx#L211
React Hook useEffect has a missing dependency: 'processVideo'. Either include it or remove the dependency array
|
Lint files:
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 files:
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 files:
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 files:
src/components/Social/PostList/index.tsx#L422
'postData' is already declared in the upper scope on line 88 column 10
|
Lint files:
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 files:
src/components/react-native-image-viewing/dist/ImageViewing.js#L72
Expected 'undefined' and instead saw 'void'
|
Lint files:
src/components/react-native-image-viewing/dist/ImageViewing.js#L72
Expected 'undefined' and instead saw 'void'
|
Lint files:
src/components/react-native-image-viewing/dist/ImageViewing.js#L73
Expected 'undefined' and instead saw 'void'
|
Lint files:
src/components/react-native-image-viewing/dist/ImageViewing.js#L74
Expected 'undefined' and instead saw 'void'
|
Lint files:
src/components/react-native-image-viewing/dist/components/ImageItem/ImageItem.android.js#L39
Expected 'undefined' and instead saw 'void'
|
Lint files:
src/components/react-native-image-viewing/dist/components/ImageItem/ImageItem.android.js#L39
Expected 'undefined' and instead saw 'void'
|
The logs for this run have expired and are no longer available.
Loading