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

Consider running prettier separately #99

Open
amannn opened this issue Apr 29, 2024 · 0 comments
Open

Consider running prettier separately #99

amannn opened this issue Apr 29, 2024 · 0 comments

Comments

@amannn
Copy link
Member

amannn commented Apr 29, 2024

We currently run prettier as part of ESLint via eslint-plugin-prettier. The intention of this was to easily integrate Prettier with our toolchain, but this approach is no longer recommended. We might want to run prettier separately from ESLint.

An added benefit is that by requiring a .prettierrc file, we'd apply our formatting rules to other files that are not linted by ESLint (e.g. markdown, styles, …).

See also: https://prettier.io/docs/en/configuration.html#sharing-configurations

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

No branches or pull requests

1 participant