desec-io/desec-stack

Webapp: overview lint warnings/errors

Rotzbua opened this issue · 0 comments

With the newer eslint versions new inspections were added.
The warnings/errors can cause problems with newer package versions and future migrations.
So they should be solved or if false warnings suppressed.

Current output to fix:

  • www\webapp\src\components\Field\Code.vue
    7:9 warning Name "Code" is reserved in HTML vue/no-reserved-component-names

  • www\webapp\src\views\About.vue
    39:29 warning Using v-text on component may break component's content vue/no-v-text-v-html-on-component

  • www\webapp\src\views\Console\Confirmation.vue
    3:14 error Unexpected mutation of "value" prop vue/no-mutating-props

  • www\webapp\src\views\CrudList.vue
    375:5 warning Name "Code" is reserved in HTML vue/no-reserved-component-names

  • www\webapp\src\views\PrivacyPolicy.vue
    13:29 warning Using v-text on component may break component's content vue/no-v-text-v-html-on-component

  • www\webapp\src\views\Terms.vue
    35:26 warning Using v-html on component may break component's content vue/no-v-text-v-html-on-component

Add strongly-recommended:

  • vue/v-bind-style
  • vue/v-on-style
  • vue/v-slot-style