From 2d421972844d6221e25c0a510206c14e3504a9eb Mon Sep 17 00:00:00 2001 From: Deepak Shah Date: Fri, 18 Oct 2024 10:09:34 -0500 Subject: [PATCH] linting and prettier fixes --- eslint.config.mjs | 16 ++++++++++---- .../src/components/layout/ComponentDoc.vue | 22 +++++++++---------- playground/src/components/layout/SideBar.vue | 10 ++++----- playground/src/layouts/default.vue | 5 ++--- playground/src/pages/Components/s-footer.vue | 2 +- .../src/pages/Components/s-header-logo.vue | 7 +++--- playground/src/pages/Components/s-header.vue | 10 ++++----- playground/src/pages/index.vue | 6 ++--- src/runtime/components/SFooter.vue | 2 +- src/runtime/components/SHeader.vue | 10 +++------ 10 files changed, 45 insertions(+), 45 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index fcd0d34..2f00f60 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,7 +1,15 @@ -import withNuxt from './playground/.nuxt/eslint.config.mjs' -import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended' +import withNuxt from './playground/.nuxt/eslint.config.mjs'; +import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; export default withNuxt({ ...eslintPluginPrettierRecommended, - ignores: ['node_modules', '.nuxt', 'dist', 'playground/*', 'test'], -}) + ignores: ['node_modules', '.nuxt', 'dist', 'test', 'playground/*'], + rules: { + 'vue/multi-word-component-names': 'off', + }, + languageOptions: { + globals: { + defineNuxtConfig: 'readonly', + }, + }, +}); diff --git a/playground/src/components/layout/ComponentDoc.vue b/playground/src/components/layout/ComponentDoc.vue index 87d5bc7..5b0284b 100644 --- a/playground/src/components/layout/ComponentDoc.vue +++ b/playground/src/components/layout/ComponentDoc.vue @@ -2,9 +2,9 @@
- + {{ propc.title }} - + - + @@ -49,44 +49,44 @@ + /> Example - + + /> Props - + + /> Slots - + + /> Event - + diff --git a/playground/src/components/layout/SideBar.vue b/playground/src/components/layout/SideBar.vue index e0104f8..33eb843 100644 --- a/playground/src/components/layout/SideBar.vue +++ b/playground/src/components/layout/SideBar.vue @@ -7,7 +7,7 @@ v-bind="props" prepend-icon="mdi-clipboard-text" title="Getting Started" - > + /> + /> + />