Skip to content

fix: linter

fix: linter #30

Triggered via pull request October 2, 2024 13:00
Status Failure
Total duration 7m 3s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 15 warnings
build-ios
react-native-bottom-tabs-example#build:ios: command (/Users/runner/work/react-native-bottom-tabs/react-native-bottom-tabs/example) /private/var/folders/gs/7hzc1v1s1lddp4z3tc5z3clr0000gn/T/xfs-fcd43c7f/yarn run build:ios exited (1)
build-ios
Process completed with exit code 1.
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: example/src/App.tsx#L69
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 “Navigation” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
lint: example/src/Screens/Article.tsx#L26
Inline style: { color: '#000' }
lint: example/src/Screens/Article.tsx#L34
Inline style: { color: '#000' }
lint: example/src/Screens/Article.tsx#L54
Inline style: { backgroundColor: '#fff' }
lint: example/src/Screens/Article.tsx#L64
Inline style: { color: '#000' }
lint: example/src/Screens/Article.tsx#L65
Inline style: { color: '#000' }
lint: example/src/Screens/Chat.tsx#L50
Inline style: { backgroundColor: "odd ? 'blue' : 'white'" }
lint: example/src/Screens/Chat.tsx#L53
Inline style: { color: "odd ? 'white' : 'blue'" }
lint: example/src/Screens/Chat.tsx#L60
Inline style: { backgroundColor: 'white', color: 'black' }
lint: example/src/Screens/Chat.tsx#L67
Inline style: { height: 80 }
build-library
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@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-ios
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@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-android
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/