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;