Skip to content

Commit

Permalink
correct eslint "no-multiple-empty-lines" (#1179)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltorio authored Feb 27, 2023
1 parent d6fd4ab commit 8d1f30c
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion frontend/src/api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ http.interceptors.response.use((resp) => {
store.commit('setLoading', { model: resp.config.loading, status: false });
}


let data = {};
if (typeof resp.data.data === 'object') {
if (resp.data.data.constructor === Object) {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/EmptyPlaceholder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
</section>
</template>


<script>
export default {
name: 'EmptyPlaceholder',
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/LogView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
</section>
</template>


<script>
// Regexp for splitting log lines in the following format to
// [timestamp] [file] [message].
Expand Down
1 change: 0 additions & 1 deletion frontend/src/components/Navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
</b-menu-list>
</template>


<script>
export default {
name: 'navigation',
Expand Down
1 change: 0 additions & 1 deletion frontend/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export const uris = Object.freeze({
static: `${baseURL}/static`,
});


// Keys used in Vuex store.
export const storeKeys = Object.freeze({
models: 'models',
Expand Down
1 change: 0 additions & 1 deletion frontend/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const i18n = new VueI18n();
Vue.use(Buefy, {});
Vue.config.productionTip = false;


// Setup the router.
router.beforeEach((to, from, next) => {
if (to.matched.length === 0) {
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/404.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
</section>
</template>


<script>
import Vue from 'vue';
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/CampaignAnalytics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
<template v-else>{{ $t('analytics.nonUnique') }}</template>
</p>


<section class="charts mt-5">
<div class="chart columns" v-for="(v, k) in charts" :key="k">
<div class="column is-9">
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/Campaigns.vue
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ export default Vue.extend({
sendAt = dayjs(c.sendAt).isAfter(now) ? c.sendAt : now.add(7, 'day');
}
const data = {
name,
subject: c.subject,
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@
</section>
</template>


<style lang="css">
@import "~c3/c3.css";
</style>
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/Forms.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
{{ $t('forms.noPublicLists') }}
</p>


<div class="columns" v-else-if="publicLists.length > 0">
<div class="column is-4">
<h4>{{ $t('forms.publicLists') }}</h4>
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/Lists.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ export default Vue.extend({
this.getLists();
},
// Show the edit list form.
showEditForm(list) {
this.curItem = list;
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/Maintenance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
</p>
<br />


<div class="box">
<h4 class="is-size-5">{{ $t('globals.terms.subscribers') }}</h4><br />
<div class="columns">
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/SubscriberForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ export default Vue.extend({
this.getBounces();
}
this.$nextTick(() => {
this.$refs.focus.focus();
});
Expand Down
1 change: 0 additions & 1 deletion frontend/src/views/settings/smtp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ export default Vue.extend({
return;
}
this.errMsg = '';
this.$api.testSMTP({ ...item, email: this.testEmail }).then(() => {
this.$utils.toast(this.$t('campaigns.testSent'));
Expand Down

0 comments on commit 8d1f30c

Please sign in to comment.