From 9e87c32964ea182caaa832dcbe4a97a242aa190f Mon Sep 17 00:00:00 2001 From: nurRiyad Date: Sat, 7 Jan 2023 00:50:45 +0600 Subject: [PATCH] run prettier Signed-off-by: nurRiyad --- .editorconfig | 14 ++++++++++++++ .prettierrc | 5 +++++ components/blog/card.vue | 17 ++++++++--------- components/logo/name.vue | 8 +------- components/main/footer.vue | 12 +++--------- components/main/header.vue | 16 +++++++--------- content/blogs/1. hello-world.md | 4 ++-- content/blogs/2. hello-man.md | 4 ++-- content/blogs/3. intro-to-nuxt.md | 4 ++-- content/blogs/4. intro-to-vue.md | 5 ++--- content/blogs/5. intro-to-ts.md | 4 ++-- nuxt.config.ts | 10 +++++----- package.json | 2 -- pages/blogs/index.vue | 6 ++---- pages/categories/[category].vue | 2 +- pages/categories/index.vue | 2 +- pages/index.vue | 19 ++++++------------- tailwind.config.ts | 2 +- 18 files changed, 64 insertions(+), 72 deletions(-) create mode 100644 .editorconfig create mode 100644 .prettierrc diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..19fffe7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# editorconfig.org +root = true + +[*] +indent_size = 2 +indent_style = space +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + + +[*.md] +trim_trailing_whitespace = false \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..e866155 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,5 @@ +{ + "printWidth": 100, + "semi": false, + "singleQuote": true +} diff --git a/components/blog/card.vue b/components/blog/card.vue index ac67d75..2cf1830 100644 --- a/components/blog/card.vue +++ b/components/blog/card.vue @@ -1,10 +1,10 @@ diff --git a/pages/categories/index.vue b/pages/categories/index.vue index c819fe6..77db105 100644 --- a/pages/categories/index.vue +++ b/pages/categories/index.vue @@ -1,3 +1,3 @@ \ No newline at end of file + diff --git a/pages/index.vue b/pages/index.vue index 113a8cc..cf70037 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,28 +1,21 @@