Replace defaultProps with default js parameters #2698
test.yml
on: pull_request
lint
47s
test-ios-newarch
13m 1s
test-ios-oldarch
7m 44s
test-android-newarch
5m 28s
test-android-oldarch
4m 32s
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/
|