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

docs: update organizeImports config for VS Code #202

Merged
merged 1 commit into from
Jun 18, 2023
Merged

Conversation

Mert75
Copy link
Contributor

@Mert75 Mert75 commented Jun 17, 2023

Description

With the default configuration for VSCode, there is a race condition when saving a file with ordering imports.
This happens because there is an import/order rule configured.

With the following settings it respects the linter and will work as expected:

# settings.json

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

@antfu antfu changed the title docs(README.md): update organizeImports config for VS Code docs: update organizeImports config for VS Code Jun 18, 2023
@antfu antfu merged commit 6cf4794 into antfu:main Jun 18, 2023
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.

None yet

2 participants