Skip to content

Chore: enable eslint #59

Chore: enable eslint

Chore: enable eslint #59

Triggered via pull request September 24, 2024 10:20
@as-opas-op
synchronize #97
chore/eslint
Status Failure
Total duration 1m 1s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build (20.x): src/helpers/button-disabler.js#L19
Do not access Object.prototype method 'hasOwnProperty' from target object
build (20.x): src/helpers/create-toolbar-edit-button.js#L10
'I18n' is not defined
build (20.x): src/mentions/user-mentions.js#L5
'getOPHelper' is defined but never used. Allowed unused vars must match /^_/u
build (20.x): src/mentions/user-mentions.js#L25
'reject' is defined but never used. Allowed unused args must match /^_/u
build (20.x): src/mentions/work-package-mentions.js#L10
'reject' is defined but never used. Allowed unused args must match /^_/u
build (20.x): src/plugins/code-block/widget.js#L1
'ViewPosition' is defined but never used. Allowed unused vars must match /^_/u
build (20.x): src/plugins/code-block/widget.js#L3
'setContent' is defined but never used. Allowed unused vars must match /^_/u
build (20.x): src/plugins/op-content-revisions/op-content-revisions.js#L3
'saveInLocalStorage' is defined but never used. Allowed unused vars must match /^_/u
build (20.x): src/plugins/op-content-revisions/ui.js#L5
'Notification' is defined but never used. Allowed unused vars must match /^_/u
build (20.x): src/plugins/op-custom-css-classes-plugin.js#L307
'previousElement' is assigned a value but never used. Allowed unused vars must match /^_/u
build (20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/