JeanCarlosChavarriaHughes / sopa-bar-admin-frontend

Administrative Dashboard Project for sopa-bar.
MIT License
1 stars 0 forks source link

Frontend is not passing lint check #1

Open JeanCarlosChavarriaHughes opened 3 years ago

JeanCarlosChavarriaHughes commented 3 years ago

Project Version: commit 29915a0dabe3caec97c4d2e17cf10903b0a5f1f4 Author: Bryan Chavarría Hughes bryannsi@outlook.com Date: Fri Mar 26 13:42:36 2021 -0600

Se comentó el middleware para evitar conflictos

The frontend part of the project is not passing the npm lint check:

`$ npm run lint

@coreui/coreui-free-vue-admin-template@3.1.2 lint /home/imagineing/local/sopa-bar-admin/frontend vue-cli-service lint

error: '.native' modifier on 'v-on' directive is deprecated (vue/no-deprecated-v-on-native-modifier) at src/containers/TheSidebar.vue:28:14: 26 | <CSidebarMinimizer 27 | class="d-md-down-none"

28 | @click.native="$store.commit('set', ['sidebarMinimize', !minimize])" | ^ 29 | /> 30 | 31 |

error: slot attributes are deprecated (vue/no-deprecated-slot-attribute) at src/views/Dashboard.vue:319:19: 317 | no-sorting 318 | >

319 | | ^ 320 |

321 | 322 | <span

error: slot-scope are deprecated (vue/no-deprecated-slot-scope-attribute) at src/views/Dashboard.vue:319:53: 317 | no-sorting 318 | >

319 | | ^ 320 |

321 | 322 | <span

error: slot attributes are deprecated (vue/no-deprecated-slot-attribute) at src/views/Dashboard.vue:328:19: 326 |

327 |

328 | | ^ 329 |

{{ item.user.name }}
330 |
331 |

error: slot-scope are deprecated (vue/no-deprecated-slot-scope-attribute) at src/views/Dashboard.vue:328:31: 326 |

327 |

328 | | ^ 329 |

{{ item.user.name }}
330 |
331 |

error: slot attributes are deprecated (vue/no-deprecated-slot-attribute) at src/views/Dashboard.vue:338:19: 336 | 337 |

338 | | ^ 339 | 340 | 341 |

error: slot-scope are deprecated (vue/no-deprecated-slot-scope-attribute) at src/views/Dashboard.vue:338:34: 336 | 337 |

338 | | ^ 339 | 340 | 341 |

error: slot attributes are deprecated (vue/no-deprecated-slot-attribute) at src/views/Dashboard.vue:341:19: 339 | 340 |

341 | | ^ 342 |

343 |
344 | {{ item.usage.value }}%

error: slot-scope are deprecated (vue/no-deprecated-slot-scope-attribute) at src/views/Dashboard.vue:341:32: 339 | 340 |

341 | | ^ 342 |

343 |
344 | {{ item.usage.value }}%

error: slot attributes are deprecated (vue/no-deprecated-slot-attribute) at src/views/Dashboard.vue:356:19: 354 | /> 355 |

356 | | ^ 357 | 358 | 359 |

error: slot-scope are deprecated (vue/no-deprecated-slot-scope-attribute) at src/views/Dashboard.vue:356:34: 354 | /> 355 |

356 | | ^ 357 | 358 | 359 |

error: slot attributes are deprecated (vue/no-deprecated-slot-attribute) at src/views/Dashboard.vue:359:19: 357 | 358 |

359 | | ^ 360 |

Last login
361 | {{ item.activity }} 362 |

error: slot-scope are deprecated (vue/no-deprecated-slot-scope-attribute) at src/views/Dashboard.vue:359:35: 357 | 358 |

359 | | ^ 360 |

Last login
361 | {{ item.activity }} 362 |

error: <template v-for> key should be placed on the <template> tag (vue/no-v-for-template-key-on-child) at src/views/base/Forms.vue:166:47: 164 | /> 165 |