refactor(gui): linting

Signed-off-by: Pranav C <61551451+pranavxc@users.noreply.github.com>
This commit is contained in:
Pranav C
2021-07-19 16:30:37 +05:30
parent f9508c2d44
commit fa00be39b8
303 changed files with 34924 additions and 31761 deletions

View File

@@ -3,12 +3,11 @@ import Vue from 'vue'
import DatetimePicker from 'vuetify-datetime-picker'
import vueKanban from 'vue-kanban'
Vue.use(DatetimePicker);
Vue.use(DatetimePicker)
Vue.use(vueKanban)
const components = require.context('@/components/global', false, /[A-Z]\w+\.(vue)$/)
components.keys().forEach(fileName => {
components.keys().forEach((fileName) => {
const componentConfig = components(fileName)
const componentName = fileName.split('/').pop().split('.')[0]
Vue.component(componentName, componentConfig.default || componentConfig)