From e0b7838863ae606f2b00bf2ca2be0efe1fc1d75c Mon Sep 17 00:00:00 2001 From: mertsincan Date: Thu, 25 May 2023 14:06:54 +0100 Subject: [PATCH] Cosmetics --- .eslintrc.js | 3 ++- components/lib/badge/BaseBadge.vue | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index 985964755..49e4b8a51 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -92,7 +92,8 @@ module.exports = { { blankLine: 'always', prev: 'block', next: '*' }, { blankLine: 'always', prev: '*', next: 'block' }, { blankLine: 'always', prev: 'block-like', next: '*' }, - { blankLine: 'always', prev: '*', next: 'block-like' } + { blankLine: 'always', prev: '*', next: 'block-like' }, + { blankLine: 'always', prev: ['import'], next: ['const', 'let', 'var'] } ] } }; diff --git a/components/lib/badge/BaseBadge.vue b/components/lib/badge/BaseBadge.vue index 56e67048e..fb2b396a4 100644 --- a/components/lib/badge/BaseBadge.vue +++ b/components/lib/badge/BaseBadge.vue @@ -2,6 +2,7 @@ import BaseComponent from 'primevue/basecomponent'; import { useStyle } from 'primevue/usestyle'; import { ObjectUtils } from 'primevue/utils'; + const styles = ` .p-badge { display: inline-block;