Refactor to Vue 3 recommended ESLint rules
These updates ensure better adherence to Vue 3 standards and improve overall code quality and readability. - Update ESLint configuration from Vue 2.x to Vue 3 rules. - Switch from "essential" to strictest "recommended" ESLint ruleset. - Adjust ESLint script to treat warnings as errors by using `--max-warnings=0` flag. This enforces stricter code quality controls provided by Vue 3 rules.
This commit is contained in:
@@ -1,17 +1,22 @@
|
||||
<template>
|
||||
<span
|
||||
class="container"
|
||||
v-bind:class="{
|
||||
:class="{
|
||||
'container-unsupported': !hasCurrentOsDesktopVersion,
|
||||
'container-supported': hasCurrentOsDesktopVersion,
|
||||
}">
|
||||
}"
|
||||
>
|
||||
<span class="description">
|
||||
<AppIcon class="description__icon" icon="desktop" />
|
||||
<span class="description__text">For desktop:</span>
|
||||
</span>
|
||||
<span class="urls">
|
||||
<span class="urls__url" v-for="os of supportedDesktops" v-bind:key="os">
|
||||
<DownloadUrlListItem :operatingSystem="os" />
|
||||
<span
|
||||
v-for="os of supportedDesktops"
|
||||
:key="os"
|
||||
class="urls__url"
|
||||
>
|
||||
<DownloadUrlListItem :operating-system="os" />
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user