Skip to content

Commit f9adae6

Browse files
committed
chore(lint): improve
1 parent 6cb2806 commit f9adae6

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

eslint.config.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ export default createConfigForNuxt({
1919
'vue/singleline-html-element-content-newline': [
2020
'error',
2121
{
22-
ignores: ['ProseA', 'ProseCode']
22+
ignores: [
23+
'ProseA', 'ProseCode',
24+
'span', 'em', 'a', 'strong', 'b', 'i',
25+
'div', 'svg', 'time',
26+
'slot'
27+
]
2328
}
2429
]
2530
}).prepend({

src/runtime/components/RadioGroup.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ function onUpdate(value: any) {
170170

171171
<div :class="b24ui.wrapper({ class: props.b24ui?.wrapper })">
172172
<Label :class="b24ui.label({ class: props.b24ui?.label })" :for="item.id">
173-
<slot name="label" :item="item" :model-value="modelValue">{{ item.label }}</slot>
173+
<slot name="label" :item="item" :model-value="modelValue">
174+
{{ item.label }}
175+
</slot>
174176
</Label>
175177
<p v-if="item.description || !!slots.description" :class="b24ui.description({ class: props.b24ui?.description })">
176178
<slot name="description" :item="item" :model-value="modelValue">

src/theme/prose/code.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ export default {
5555
'ring ring-inset',
5656
'text-ai-500 bg-ai-150 ring-ai-150',
5757
'dark:text-ai-600 dark:bg-ai-200 dark:ring-ai-200'
58-
].join(' '),
59-
primaryww: 'border border-(--ui-primary)/25 bg-(--ui-primary)/10 text-(--ui-primary)',
58+
].join(' ')
6059
}
6160
},
6261
defaultVariants: {

0 commit comments

Comments
 (0)