-
Notifications
You must be signed in to change notification settings - Fork 55
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
Proposal: Add a Code Formatter #597
Comments
I have https://eslint.style/ setup with default configs. Did you find inconsistency anywhere in the repo? |
Got it! |
Does it only format |
Yes, it seems to be applied only to For example, when running lint:js, I believe the following link should trigger an @stylistic/quotes error, but it doesn't seem to happen: eslint-plugin-vitest/src/utils/ast-utils.ts Lines 1 to 2 in 342ce00
It seems that the issue is likely caused by the omission of the files property in the ESLint configuration. I will address this by adding the necessary files property. |
I propose introducing a code formatter, such as Prettier, to ensure consistent code style across the project.
If this sounds reasonable, I can help with the initial setup and configuration of Prettier (or any other preferred formatter).
Let me know your thoughts!😄
The text was updated successfully, but these errors were encountered: