From 5f87dda7f04b82c5d3073066c06401a7538d8477 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 30 Aug 2022 19:14:08 +0530 Subject: [PATCH] chore(gui-v2): lint Signed-off-by: Pranav C --- .../components/smartsheet-toolbar/ViewActions.vue | 6 +++--- packages/nc-gui-v2/components/smartsheet/ApiSnippet.vue | 8 ++++---- packages/nc-gui-v2/components/smartsheet/Grid.vue | 3 --- packages/nc-gui-v2/nuxt.config.ts | 9 +++------ 4 files changed, 10 insertions(+), 16 deletions(-) diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue index 321ddf82c5..b0877b4385 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/ViewActions.vue @@ -1,8 +1,5 @@ + diff --git a/packages/nc-gui-v2/components/smartsheet/Grid.vue b/packages/nc-gui-v2/components/smartsheet/Grid.vue index c7297f9f92..2f20a0e71a 100644 --- a/packages/nc-gui-v2/components/smartsheet/Grid.vue +++ b/packages/nc-gui-v2/components/smartsheet/Grid.vue @@ -9,7 +9,6 @@ import { IsFormInj, IsGridInj, IsLockedInj, - IsPublicInj, MetaInj, OpenNewRecordFormHookInj, PaginationDataInj, @@ -37,8 +36,6 @@ const meta = inject(MetaInj) const view = inject(ActiveViewInj) -const isPublicView = inject(IsPublicInj, ref(false)) - // keep a root fields variable and will get modified from // fields menu and get used in grid and gallery const fields = inject(FieldsInj, ref([])) diff --git a/packages/nc-gui-v2/nuxt.config.ts b/packages/nc-gui-v2/nuxt.config.ts index 351ab5ed99..1ccb9f0cf2 100644 --- a/packages/nc-gui-v2/nuxt.config.ts +++ b/packages/nc-gui-v2/nuxt.config.ts @@ -50,7 +50,7 @@ export default defineNuxtConfig({ vite: { // todo: minifiy again build: { - minify: false + minify: false, }, plugins: [ vueI18n({ @@ -79,8 +79,7 @@ export default defineNuxtConfig({ ], define: { 'process.env.DEBUG': 'false', - 'process.nextTick': () => { - }, + 'process.nextTick': () => {}, }, server: { watch: { @@ -100,9 +99,7 @@ export default defineNuxtConfig({ global: 'globalThis', }, // Enable esbuild polyfill plugins - plugins: [ - NodeModulesPolyfillPlugin(), - ], + plugins: [NodeModulesPolyfillPlugin()], }, }, },