eslint fix #12
Annotations
4 errors and 10 warnings
lint:
src/v4/PublicApi/Pages/AmityPostDetailPage/styles.ts#L6
'top' is assigned a value but never used
|
lint:
src/v4/PublicApi/Pages/AmityPostDetailPage/styles.ts#L38
Replace `·:·Platform.select({android·:·36·,·ios·:·32` with `:·Platform.select({·android:·36,·ios:·32·`
|
lint
Process completed with exit code 1.
|
build-library
Process completed with exit code 1.
|
lint:
src/components/ChooseCategoryModal/index.tsx#L65
'categoryId' is already declared in the upper scope on line 30 column 3
|
lint:
src/components/LoadingVideo/index.tsx#L76
'thumbNail' is already declared in the upper scope on line 43 column 3
|
lint:
src/components/MediaSection/index.tsx#L286
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 “MediaSection” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
lint:
src/components/Social/PostList/index.tsx#L176
'data' is already declared in the upper scope on line 115 column 5
|
lint:
src/components/StoryKit/src/Story.tsx#L84
Expected '===' and instead saw '=='
|
lint:
src/components/StoryKit/src/Story.tsx#L96
Expected '===' and instead saw '=='
|
lint:
src/components/StoryKit/src/Story.tsx#L146
Expected '===' and instead saw '=='
|
lint:
src/components/StoryKit/src/Story.tsx#L151
Expected '!==' and instead saw '!='
|
lint:
src/components/StoryKit/src/Story.tsx#L152
Missing radix parameter
|
lint:
src/components/StoryKit/src/Story.tsx#L164
Expected '!==' and instead saw '!='
|