Skip to content

enable more linting to enforce nicer code #5

enable more linting to enforce nicer code

enable more linting to enforce nicer code #5

Triggered via push April 20, 2024 07:55
Status Failure
Total duration 23s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
Lint: src/boot/fetch_api.js#L25
Unexpected empty object pattern
Lint: src/components/GalleryImageDetail.vue#L354
Unexpected empty object pattern
Lint: src/pages/PlaygroundPage.vue#L79
Duplicate key 'occupation'
Lint: src/pages/PlaygroundPage.vue#L162
Duplicate key 'type'
Lint: src/pages/PlaygroundPage.vue#L163
Duplicate key 'elements'
Lint
Process completed with exit code 1.
Lint: src/App.vue#L32
The "setup" property should be above the "data" property on line 23
Lint: src/App.vue#L164
The "created" property should be above the "methods" property on line 61
Lint: src/components/ColorPicker.vue#L2
Attribute ":rules" should go before "@update:model-value"
Lint: src/components/ColorPicker.vue#L3
Expected '#append' instead of 'v-slot:append'
Lint: src/components/ConnectionOverlay.vue#L9
Attribute "v-close-popup" should go before "color"
Lint: src/components/CountdownTimer.vue#L2
Attribute "v-show" should go before "style"
Lint: src/components/CountdownTimer.vue#L2
Attribute "id" should go before "style"
Lint: src/components/CountdownTimer.vue#L3
Attribute "v-show" should go before "style"
Lint: src/components/CountdownTimer.vue#L3
'v-html' directive can lead to XSS attack
Lint: src/components/CountdownTimer.vue#L3
Attribute "id" should go before "v-html"