From d4cf029d1ca08298d169e0bbaf5d0a8df480531c Mon Sep 17 00:00:00 2001 From: Fajar Date: Fri, 30 Jul 2021 18:08:30 +0700 Subject: [PATCH] patch v1.1.8 release --- .eslintrc.js | 8 +- .gitignore | 3 +- .../page-sections/CategoriesSection.vue | 53 +++++++- .../page-sections/CategoryDropdownSection.vue | 16 ++- components/ui/ArticleCard.vue | 60 ++++++-- package-lock.json | 128 +++++++++--------- package.json | 1 + pages/index.vue | 4 +- tailwind.config.js | 1 + 9 files changed, 184 insertions(+), 90 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 427d5d9..3f1db43 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -13,7 +13,11 @@ module.exports = { 'plugin:prettier/recommended', 'plugin:nuxt/recommended', ], - plugins: ['prettier'], + plugins: ['prettier', 'tailwindcss'], // add your custom rules here - rules: {}, + rules: { + "tailwindcss/classnames-order": "warn", + "tailwindcss/no-custom-classname": "warn", + "tailwindcss/no-contradicting-classname": "error" + }, } diff --git a/.gitignore b/.gitignore index 0e6b7f7..397abc7 100644 --- a/.gitignore +++ b/.gitignore @@ -92,4 +92,5 @@ sw.* # Local Netlify folder .netlify -.theia \ No newline at end of file +.theia +.vscode \ No newline at end of file diff --git a/components/page-sections/CategoriesSection.vue b/components/page-sections/CategoriesSection.vue index 522f5a2..346bbe0 100644 --- a/components/page-sections/CategoriesSection.vue +++ b/components/page-sections/CategoriesSection.vue @@ -1,8 +1,15 @@