Fix stupid lint rule
This commit is contained in:
parent
3018bf2ee2
commit
f4951ac18b
11 changed files with 48 additions and 47 deletions
|
@ -1,6 +1,6 @@
|
|||
import pluginVue from 'eslint-plugin-vue'
|
||||
import {defineConfigWithVueTs, vueTsConfigs} from '@vue/eslint-config-typescript'
|
||||
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'
|
||||
import pluginVue from 'eslint-plugin-vue';
|
||||
import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript';
|
||||
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting';
|
||||
|
||||
export default defineConfigWithVueTs(
|
||||
{
|
||||
|
@ -19,6 +19,7 @@ export default defineConfigWithVueTs(
|
|||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'space-before-function-paren': 'off',
|
||||
'object-curly-spacing': ['error', 'always'],
|
||||
semi: ['warn', 'always'],
|
||||
},
|
||||
},
|
||||
|
|
|
@ -28,7 +28,7 @@ onMounted(() => {
|
|||
if (!eventSource.value?.readyState) {
|
||||
status.value = 'Not connected to any Party Lines...';
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
const partyLineModel = computed({
|
||||
get: () => partyLineName.value ? partyLineName.value : partyLine.value,
|
||||
|
@ -74,7 +74,7 @@ const joinPartyLine = async () => {
|
|||
status.value = error.message || 'An error occurred';
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
import './assets/style.css'
|
||||
import './assets/style.css';
|
||||
|
||||
import {createApp} from 'vue'
|
||||
import {createPinia} from 'pinia'
|
||||
import { createApp } from 'vue';
|
||||
import { createPinia } from 'pinia';
|
||||
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
import App from './App.vue';
|
||||
import router from './router';
|
||||
|
||||
const app = createApp(App)
|
||||
const app = createApp(App);
|
||||
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
app.use(createPinia());
|
||||
app.use(router);
|
||||
|
||||
app.mount('#app')
|
||||
app.mount('#app');
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import {createRouter, createWebHistory} from 'vue-router'
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
import HomeView from "@/views/HomeView.vue";
|
||||
|
||||
const router = createRouter({
|
||||
|
@ -15,6 +15,6 @@ const router = createRouter({
|
|||
component: () => import('../views/AdminView.vue'),
|
||||
},
|
||||
],
|
||||
})
|
||||
});
|
||||
|
||||
export default router
|
||||
export default router;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { fileURLToPath, URL } from 'node:url'
|
||||
import { fileURLToPath, URL } from 'node:url';
|
||||
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import vueDevTools from 'vite-plugin-vue-devtools'
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
import { defineConfig } from 'vite';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import vueDevTools from 'vite-plugin-vue-devtools';
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
|
@ -21,4 +21,4 @@ export default defineConfig({
|
|||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||
},
|
||||
},
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue