Skip to content

Feature/cli

Feature/cli #11

Triggered via pull request February 9, 2024 14:54
Status Failure
Total duration 48s
Artifacts

wordpress.yml

on: pull_request
Check PHP Codes  /  phpcs
9s
Check PHP Codes / phpcs
Assets Test  /  npm-lint
35s
Assets Test / npm-lint
Status Check
0s
Status Check
Deploy Production Server
0s
Deploy Production Server
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
Check PHP Codes / phpcs
Process completed with exit code 2.
Assets Test / npm-lint: src/js/attendance.js#L13
Identifier 'auth_pass' is not in camel case
Assets Test / npm-lint: src/js/attendance.js#L13
'wpCheckin' is not defined
Assets Test / npm-lint: src/js/attendance.js#L14
Identifier 'auth_user' is not in camel case
Assets Test / npm-lint: src/js/attendance.js#L14
'wpCheckin' is not defined
Assets Test / npm-lint: src/js/attendance.js#L32
'error' is already declared in the upper scope on line 20 column 10
Assets Test / npm-lint: src/js/attendance.js#L46
Identifier 'auth_user' is not in camel case
Assets Test / npm-lint: src/js/attendance.js#L47
Identifier 'auth_pass' is not in camel case
Assets Test / npm-lint: src/js/attendance.js#L47
Missing trailing comma
Assets Test / npm-lint: src/js/attendance.js#L55
'error' is already declared in the upper scope on line 20 column 10
Assets Test / npm-lint: src/js/attendance.js#L68
'error' is already declared in the upper scope on line 20 column 10
Assets Test / npm-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Assets Test / npm-lint: src/js/attendance.js#L36
React Hook useEffect has missing dependencies: 'addError' and 'ticketId'. Either include them or remove the dependency array