-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Feature request: Add Prettier #1726
Comments
Prettier conflicts with ESLint rules (operator-linebreak for instance). Looks like this cannot be done unless we are disabling some of the eslint rules. What should be the right approach for fixing this issue ? |
I'd try to initially encourage Prettier to make as few changes as possible, due to existing large PRs out there. Merge conflicts could be a nightmare to sort out! However, if we enforce https://github.com/gchq/Bailo/blob/main/.prettierrc.json And doesn't need to disable any rules for Prettier.. |
Thanks a lot. This helps 😄 |
Problem
The code base, despite existing linting rules, lacks consistent formatting, leading to:
Solution
Introduce Prettier as a code formatter base on the coding conventions to enforce consistent formatting, improving readability and freeing developer time for higher-level tasks
The text was updated successfully, but these errors were encountered: