Skip to content

107-ui-controls - fix prettier issues #378

107-ui-controls - fix prettier issues

107-ui-controls - fix prettier issues #378

Triggered via push August 9, 2024 16:20
Status Failure
Total duration 51s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
build: examples/MyTVProject/app/(tabs)/_layout.tsx#L38
Insert `⏎····`
build
mytvproject#lint: command (/home/runner/work/react-native-media-console/react-native-media-console/examples/MyTVProject) /tmp/yarn--1723220441199-0.08025227674338398/yarn run lint exited (1)
build: examples/MyTVProject/app/(tabs)/explore.tsx#L23
Insert `⏎····`
build: examples/MyTVProject/app/(tabs)/index.tsx#L20
Insert `⏎····`
build: examples/MyTVProject/app/(tabs)/tv_focus.tsx#L23
Insert `⏎····`
build: examples/MyTVProject/components/Collapsible.tsx#L21
Insert `⏎······`
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: examples/MyTVProject/app/(tabs)/_layout.tsx#L45
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 “TabLayout” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
build: examples/MyTVProject/app/(tabs)/_layout.tsx#L59
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 “TabLayout” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
build: examples/MyTVProject/app/(tabs)/_layout.tsx#L73
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 “TabLayout” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
build: examples/MyTVProject/app/(tabs)/explore.tsx#L67
Inline style: { alignSelf: 'center' }
build: examples/MyTVProject/app/(tabs)/explore.tsx#L77
Inline style: { fontFamily: 'SpaceMono' }
build: examples/MyTVProject/app/(tabs)/index.tsx#L21
Inline style: { height: 300 }
build: examples/MyTVProject/components/navigation/TabBarIcon.tsx#L11
Inline style: { marginBottom: -3 }
build: examples/MyTVProject/metro.config.js#L9
'no-undef' rule is disabled but never reported