chore: add eslint and fix lint errors

This commit is contained in:
2020-01-25 14:59:14 +01:00
parent e6c87e2f46
commit ef2015f012
36 changed files with 1645 additions and 917 deletions
+12 -12
View File
@@ -3,18 +3,18 @@
</template>
<script>
import Filters from "~/components/pages/filters";
import { useTranslation } from '../plugins/i18n'
import Filters from '../components/pages/filters'
import { useTranslation } from '../plugins/i18n'
export default {
components: {
Filters
},
head() {
const { t } = useTranslation()
return {
title: t('filters.title')
};
export default {
components: {
Filters
},
head() {
const { t } = useTranslation()
return {
title: t('filters.title')
}
};
}
}
</script>
+3 -3
View File
@@ -3,7 +3,7 @@
</template>
<script>
import Events from "~/components/pages/events";
import Events from '../components/pages/events'
import { useTranslation } from '../plugins/i18n'
export default {
@@ -14,7 +14,7 @@ export default {
const { t } = useTranslation()
return {
title: t('events.title')
};
}
}
};
}
</script>
+12 -12
View File
@@ -3,18 +3,18 @@
</template>
<script>
import Origins from "~/components/pages/origins";
import { useTranslation } from '../plugins/i18n'
import Origins from '../components/pages/origins'
import { useTranslation } from '../plugins/i18n'
export default {
components: {
Origins
},
head() {
const { t } = useTranslation()
return {
title: t('origins.title')
};
export default {
components: {
Origins
},
head() {
const { t } = useTranslation()
return {
title: t('origins.title')
}
};
}
}
</script>