Skip to content

chore: setup prettier for code formatting and eslint #795

chore: setup prettier for code formatting and eslint

chore: setup prettier for code formatting and eslint #795

Triggered via pull request October 31, 2025 13:37
Status Failure
Total duration 2m 30s
Artifacts

build_and_test.yml

on: pull_request
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 40 warnings
Node 18 on ubuntu-latest
Process completed with exit code 2.
Node 22 on windows-latest
Process completed with exit code 1.
Node 18 on windows-latest
Process completed with exit code 1.
Node 20 on windows-latest
Process completed with exit code 1.
Node 18 on macos-latest
Process completed with exit code 2.
Node 22 on ubuntu-latest: src/commands/collaborations/update.js#L18
Do not access Object.prototype method 'hasOwnProperty' from target object
Node 22 on ubuntu-latest: src/box-command.js#L1754
`Array#reduce()` is not allowed. Prefer other types of loop for readability
Node 22 on ubuntu-latest: src/box-command.js#L1720
Prefer the spread operator over `Array#concat(…)`
Node 22 on ubuntu-latest: src/box-command.js#L1646
Prefer the spread operator over `Array#concat(…)`
Node 22 on ubuntu-latest: src/box-command.js#L1193
Do not access a member directly from an await expression
Node 22 on ubuntu-latest: src/box-command.js#L655
Prefer the spread operator over `Array#concat(…)`
Node 22 on ubuntu-latest: src/box-command.js#L654
`Array#reduce()` is not allowed. Prefer other types of loop for readability
Node 22 on ubuntu-latest: src/box-command.js#L618
Do not access Object.prototype method 'hasOwnProperty' from target object
Node 22 on ubuntu-latest: src/box-command.js#L307
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
Node 22 on ubuntu-latest: src/box-command.js#L306
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
Node 20 on ubuntu-latest: src/commands/collaborations/update.js#L18
Do not access Object.prototype method 'hasOwnProperty' from target object
Node 20 on ubuntu-latest: src/box-command.js#L1754
`Array#reduce()` is not allowed. Prefer other types of loop for readability
Node 20 on ubuntu-latest: src/box-command.js#L1720
Prefer the spread operator over `Array#concat(…)`
Node 20 on ubuntu-latest: src/box-command.js#L1646
Prefer the spread operator over `Array#concat(…)`
Node 20 on ubuntu-latest: src/box-command.js#L1193
Do not access a member directly from an await expression
Node 20 on ubuntu-latest: src/box-command.js#L655
Prefer the spread operator over `Array#concat(…)`
Node 20 on ubuntu-latest: src/box-command.js#L654
`Array#reduce()` is not allowed. Prefer other types of loop for readability
Node 20 on ubuntu-latest: src/box-command.js#L618
Do not access Object.prototype method 'hasOwnProperty' from target object
Node 20 on ubuntu-latest: src/box-command.js#L307
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
Node 20 on ubuntu-latest: src/box-command.js#L306
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
Node 20 on macos-latest: src/commands/collaborations/update.js#L18
Do not access Object.prototype method 'hasOwnProperty' from target object
Node 20 on macos-latest: src/box-command.js#L1754
`Array#reduce()` is not allowed. Prefer other types of loop for readability
Node 20 on macos-latest: src/box-command.js#L1720
Prefer the spread operator over `Array#concat(…)`
Node 20 on macos-latest: src/box-command.js#L1646
Prefer the spread operator over `Array#concat(…)`
Node 20 on macos-latest: src/box-command.js#L1193
Do not access a member directly from an await expression
Node 20 on macos-latest: src/box-command.js#L655
Prefer the spread operator over `Array#concat(…)`
Node 20 on macos-latest: src/box-command.js#L654
`Array#reduce()` is not allowed. Prefer other types of loop for readability
Node 20 on macos-latest: src/box-command.js#L618
Do not access Object.prototype method 'hasOwnProperty' from target object
Node 20 on macos-latest: src/box-command.js#L307
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
Node 20 on macos-latest: src/box-command.js#L306
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
Node 22 on macos-latest: src/commands/collaborations/update.js#L18
Do not access Object.prototype method 'hasOwnProperty' from target object
Node 22 on macos-latest: src/box-command.js#L1754
`Array#reduce()` is not allowed. Prefer other types of loop for readability
Node 22 on macos-latest: src/box-command.js#L1720
Prefer the spread operator over `Array#concat(…)`
Node 22 on macos-latest: src/box-command.js#L1646
Prefer the spread operator over `Array#concat(…)`
Node 22 on macos-latest: src/box-command.js#L1193
Do not access a member directly from an await expression
Node 22 on macos-latest: src/box-command.js#L655
Prefer the spread operator over `Array#concat(…)`
Node 22 on macos-latest: src/box-command.js#L654
`Array#reduce()` is not allowed. Prefer other types of loop for readability
Node 22 on macos-latest: src/box-command.js#L618
Do not access Object.prototype method 'hasOwnProperty' from target object
Node 22 on macos-latest: src/box-command.js#L307
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone
Node 22 on macos-latest: src/box-command.js#L306
Prefer `structuredClone(…)` over `_.cloneDeep(…)` to create a deep clone