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 lint:fix command #347

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

Haythamasalama
Copy link
Contributor

Added the lint:fix command, which is essential for resolving any eslint rule issues that may arise after completing the code.

@vercel
Copy link

vercel bot commented Jun 26, 2023

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

Name Status Preview Updated (UTC)
ui 🔄 Building (Inspect) Jun 26, 2023 10:58pm

@vercel
Copy link

vercel bot commented Jun 26, 2023

@Haythamasalama is attempting to deploy a commit to the Nuxt Labs Team on Vercel.

A member of the Team first needs to authorize it.

@benjamincanac
Copy link
Member

Why don't you configure your VSCode to achieve this?

I have this in my settings.json:

{
    "editor.codeActionsOnSave": {
        "source.fixAll": false,
        "source.fixAll.volar": true,
        "source.fixAll.eslint": true
    }
}

@Haythamasalama
Copy link
Contributor Author

I use this config, but sometimes ESLint rules are updated in the dev or main branch, and our PR needs to be formatted again

@benjamincanac benjamincanac merged commit 2451541 into nuxt:dev Jun 27, 2023
@Haythamasalama Haythamasalama deleted the chore/add-lint-fix-command branch June 27, 2023 20:21
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