Skip to content

Replace defaultProps with default js parameters #2698

Replace defaultProps with default js parameters

Replace defaultProps with default js parameters #2698

Re-run triggered November 26, 2024 23:05
Status Failure
Total duration 13m 13s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 6 warnings
lint: packages/react-native-external-display/index.js#L25
propType "style" is not required, but has no corresponding defaultProps declaration
lint: packages/react-native-external-display/index.js#L26
propType "mainScreenStyle" is not required, but has no corresponding defaultProps declaration
lint: packages/react-native-external-display/index.js#L27
propType "screen" is not required, but has no corresponding defaultProps declaration
lint: packages/react-native-external-display/index.js#L28
propType "fallbackInMainScreen" is not required, but has no corresponding defaultProps declaration
lint: packages/react-native-external-display/index.js#L29
propType "onScreenConnect" is not required, but has no corresponding defaultProps declaration
lint: packages/react-native-external-display/index.js#L30
propType "onScreenChange" is not required, but has no corresponding defaultProps declaration
lint: packages/react-native-external-display/index.js#L31
propType "onScreenDisconnect" is not required, but has no corresponding defaultProps declaration
lint
Process completed with exit code 1.
lint: packages/react-native-external-display/js/useExternalDisplay.js#L42
React Hook useEffect has missing dependencies: 'onScreenChange', 'onScreenConnect', and 'onScreenDisconnect'. Either include them or remove the dependency array. If 'onScreenConnect' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-android-oldarch
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-android-newarch
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-ios-oldarch
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
test-ios-newarch
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/