Skip to content

Validating PR #47, opened by Edithmark42 #7

Validating PR #47, opened by Edithmark42

Validating PR #47, opened by Edithmark42 #7

Triggered via pull request February 28, 2024 10:58
Status Failure
Total duration 1m 16s
Artifacts

pr-guardrails.yml

on: pull_request
Validate branch name
10s
Validate branch name
Validate commit messages
1m 5s
Validate commit messages
Validate code style
1m 4s
Validate code style
Run unit test cases
0s
Run unit test cases
Run E2E test cases
0s
Run E2E test cases
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 16 warnings
Validate code style: package/config.js#L4
Commented-out code is forbidden
Validate code style: package/config.js#L8
Unexpected var, use let or const instead
Validate code style: package/config.js#L9
Commented-out code is forbidden
Validate code style: package/config.js#L23
Commented-out code is forbidden
Validate code style: package/config.js#L30
Missing space after key 'drawerWidth'
Validate code style: package/config.js#L30
Expected object keys to be in ascending order. 'drawerWidth' should be before 'webUrl'
Validate code style: package/config.js#L32
Missing space after key 'snackMessage'
Validate code style: package/config.js#L33
Missing space after key 'otpLength'
Validate code style: package/config.js#L33
Expected object keys to be in ascending order. 'otpLength' should be before 'snackMessage'
Validate code style: package/config.js#L34
Missing space after key 'color'
Validate branch name
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-ecosystem/action-regex-match@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Validate branch name
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-ecosystem/action-regex-match@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Validate branch name
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/
Validate branch name
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/
Validate code style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Validate code style: package/nativeComponents/inputs/NativeConfirmPassword.js#L1
'/home/runner/work/native-mobile/native-mobile/node_modules/react/index.js' imported multiple times
Validate code style: package/nativeComponents/inputs/NativeConfirmPassword.js#L2
'/home/runner/work/native-mobile/native-mobile/node_modules/react/index.js' imported multiple times
Validate code style: package/nativeComponents/inputs/NativeConfirmPasswordField.js#L1
'/home/runner/work/native-mobile/native-mobile/node_modules/react/index.js' imported multiple times
Validate code style: package/nativeComponents/inputs/NativeConfirmPasswordField.js#L2
'/home/runner/work/native-mobile/native-mobile/node_modules/react/index.js' imported multiple times
Validate code style: package/nativeComponents/inputs/NativeFilePicker.js#L100
Caution: `DocumentPicker` also has a named export `pickSingle`. Check if you meant to write `import {pickSingle} from 'react-native-document-picker'` instead
Validate code style: package/nativeComponents/inputs/NativeFilePicker.js#L102
Caution: `DocumentPicker` also has a named export `types`. Check if you meant to write `import {types} from 'react-native-document-picker'` instead
Validate code style: package/nativeComponents/inputs/NativeFilePicker.js#L103
Caution: `DocumentPicker` also has a named export `types`. Check if you meant to write `import {types} from 'react-native-document-picker'` instead
Validate code style: package/nativeComponents/inputs/NativeFilePicker.js#L104
Caution: `DocumentPicker` also has a named export `types`. Check if you meant to write `import {types} from 'react-native-document-picker'` instead
Validate code style: package/nativeComponents/inputs/NativeFilePicker.js#L105
Caution: `DocumentPicker` also has a named export `types`. Check if you meant to write `import {types} from 'react-native-document-picker'` instead
Validate code style: package/nativeComponents/inputs/NativeFilePicker.js#L106
Caution: `DocumentPicker` also has a named export `types`. Check if you meant to write `import {types} from 'react-native-document-picker'` instead
Validate commit messages
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.