Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add eslint rules for spacing #526

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

Haythamasalama
Copy link
Contributor

Added Eslint for spaceing

  1. vue/comma-spacing
<!-- before --> 
<template>
  <UBreadcrumb :items="items">
                     <!-- 👇 --> 
    <template #item="{ item,isActive,index }">
      // ...
    </template>
  </UBreadcrumb>
</template>

<!-- after --> 
<template>
  <UBreadcrumb :items="items">
                     <!-- 👇 --> 
    <template #item="{ item, isActive, index }">
      // ...
    </template>
  </UBreadcrumb>
</template>
  1. no-multi-spaces
// before
                                                                      // 👇 
const accountForm = reactive({ name: 'Benjamin', username: 'benjamincanac'  })
//  after
                                                                      // 👇 
const accountForm = reactive({ name: 'Benjamin', username: 'benjamincanac' })

@stackblitz
Copy link

stackblitz bot commented Aug 11, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel
Copy link

vercel bot commented Aug 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ui ✅ Ready (Inspect) Visit Preview Aug 11, 2023 6:39pm

@benjamincanac
Copy link
Member

Thanks! 😊

@benjamincanac benjamincanac merged commit 20556d3 into nuxt:dev Aug 11, 2023
1 check passed
@Haythamasalama Haythamasalama deleted the chore/eslunt-rules-spaceing branch August 11, 2023 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants