Skip to content

[PTP-939] chore: add linting policy #6

[PTP-939] chore: add linting policy

[PTP-939] chore: add linting policy #6

Triggered via pull request May 8, 2024 02:20
Status Failure
Total duration 33s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
ci: src/common/network.ts#L1
'navigator' is defined but never used. Allowed unused vars must match /^_/u
ci: src/common/observe.ts#L18
'ElementTypes' is defined but never used. Allowed unused vars must match /^_/u
ci: src/field-set/payment-button.ts#L2
'navigator' is defined but never used. Allowed unused vars must match /^_/u
ci: src/field-set/payment-fields-v2.ts#L2
'navigator' is defined but never used. Allowed unused vars must match /^_/u
ci: src/field-set/payment-fields-v2.ts#L235
'reject' is defined but never used. Allowed unused args must match /^_/u
ci: src/field-set/payment-fields-v2.ts#L239
'data' is defined but never used. Allowed unused args must match /^_/u
ci: src/field-set/payment-qr.ts#L2
'navigator' is defined but never used. Allowed unused vars must match /^_/u
ci: src/polyfill.js#L1
'global' is defined but never used. Allowed unused vars must match /^_/u
ci: src/polyfill.js#L574
'hasDomException' is assigned a value but never used. Allowed unused vars must match /^_/u
ci: test/common.js#L1
'sinon' is defined but never used. Allowed unused vars must match /^_/u
ci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ci: karma.conf.js#L6
Use of merge can lead to Denial-of-Service, For-loop pollution, or Property Injection
ci: src/common/dom.ts#L62
Generic Object Injection Sink
ci: src/common/dom.ts#L65
Generic Object Injection Sink
ci: src/common/dom.ts#L66
Generic Object Injection Sink
ci: src/common/dom.ts#L68
Generic Object Injection Sink
ci: src/common/dom.ts#L76
Variable Assigned to Object Injection Sink
ci: src/common/dom.ts#L97
Generic Object Injection Sink
ci: src/common/dom.ts#L99
Generic Object Injection Sink
ci: src/common/dom.ts#L106
Generic Object Injection Sink
ci: src/common/format.ts#L275
geolocation can be unsafe