okami101 / vuetify-admin-preset

A Vue CLI preset using Vuetify Admin
https://www.okami101.io/vuetify-admin
MIT License
2 stars 1 forks source link

Component name ... should always be multi-word vue/multi-word-component-names #1

Open fullstackwebdev opened 2 years ago

fullstackwebdev commented 2 years ago

$ npx vue create frontend --preset okami101/vuetify-admin-preset

/home/[homedir]/tmp/frontend/src/router/admin.js
  10:15  error  Component name "Error" should always be multi-word  vue/multi-word-component-names

/home/[homedir]/tmp/frontend/src/views/Dashboard.vue
  1:1  error  Component name "Dashboard" should always be multi-word  vue/multi-word-component-names

/home/[homedir]/tmp/frontend/src/views/Error.vue
  1:1  error  Component name "Error" should always be multi-word  vue/multi-word-component-names

✖ 3 problems (3 errors, 0 warnings)

edit .eslintrc.js

overrides: [
    {
      files: ['src/views/**/*.vue'],
      rules: {
        'vue/multi-word-component-names': 0,
      },
    },
  ],