chore: add eslint rules for spacing (#464)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Haytham A. Salama
2023-07-30 16:56:01 +03:00
committed by GitHub
parent 1bc055935e
commit 5221294f78
10 changed files with 55 additions and 31 deletions

View File

@@ -84,7 +84,7 @@ export default defineComponent({
}
})
const switchClass = computed(()=>{
const switchClass = computed(() => {
return classNames(
ui.value.base,
ui.value.rounded,
@@ -93,13 +93,13 @@ export default defineComponent({
)
})
const onIconClass = computed(()=>{
const onIconClass = computed(() => {
return classNames(
ui.value.icon.on.replaceAll('{color}', props.color)
)
})
const offIconClass = computed(()=>{
const offIconClass = computed(() => {
return classNames(
ui.value.icon.off.replaceAll('{color}', props.color)
)