Skip to content

v-icon and raw text #25

@deen13

Description

@deen13

Hey @kazupon,

first i'd like to thank you for your great work. 🎉

I've just added vue-i18n linting to our vuetify project and noticed several warnings about raw-text within our v-icon slots.

warning: raw text 'mdi-car' is used (vue-i18n/no-raw-text) at 
src/views/systems/Systems.vue:11:38:
  10 |           <v-list-tile-avatar>
> 11 |             <v-icon slot="activator">mdi-car</v-icon>
     |                                      ^
  12 |           </v-list-tile-avatar>
  13 |           <v-list-tile-content @click="goToDashboard(system)">

What would be your approach to deal with that kind of warnings? In our project those icons have no need to be localised.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions