Skip to content

Fix code style and linting errors #141

Fix code style and linting errors

Fix code style and linting errors #141

Triggered via pull request August 22, 2024 08:00
Status Failure
Total duration 6m 37s
Artifacts

webapp.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 14 warnings
lint
Process completed with exit code 1.
build: webapp/src/components/AppDropdown.vue#L27
Expected indentation of 0 tabs but found 2 spaces
build: webapp/src/components/AppDropdown.vue#L28
Expected indentation of 0 tabs but found 2 spaces
build: webapp/src/components/AppDropdown.vue#L28
'computed' is defined but never used
build: webapp/src/components/AppDropdown.vue#L28
Extra semicolon
build: webapp/src/components/AppDropdown.vue#L30
Trailing spaces not allowed
build: webapp/src/components/AppDropdown.vue#L31
Expected indentation of 0 tabs but found 2 spaces
build: webapp/src/components/AppDropdown.vue#L32
Expected indentation of 1 tab but found 6 spaces
build: webapp/src/components/AppDropdown.vue#L33
Expected indentation of 1 tab but found 6 spaces
build: webapp/src/components/AppDropdown.vue#L34
Expected indentation of 1 tab but found 6 spaces
build: webapp/src/components/AppDropdown.vue#L35
Expected indentation of 2 tabs but found 8 spaces
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1, 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/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v1, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1, 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/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v1, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: webapp/src/components/AppDropdown.vue#L2
Expected indentation of 2 spaces but found 4 spaces
build: webapp/src/components/AppDropdown.vue#L2
':class' should be on a new line
build: webapp/src/components/AppDropdown.vue#L3
Expected indentation of 4 spaces but found 6 spaces
build: webapp/src/components/AppDropdown.vue#L4
Expected indentation of 6 spaces but found 8 spaces
build: webapp/src/components/AppDropdown.vue#L4
Expected 1 line break after opening tag (`<slot>`), but no line breaks found
build: webapp/src/components/AppDropdown.vue#L4
Expected 1 line break before closing tag (`</slot>`), but no line breaks found
build: webapp/src/components/AppDropdown.vue#L5
Expected indentation of 6 spaces but found 8 spaces
build: webapp/src/components/AppDropdown.vue#L6
Expected indentation of 8 spaces but found 10 spaces
build: webapp/src/components/AppDropdown.vue#L6
Unexpected usage of 'this'
build: webapp/src/components/AppDropdown.vue#L7
Expected indentation of 8 spaces but found 10 spaces