molindo / eslint-config-molindo

ESLint config that implements the Molindo styleguide and helps to catch errors.
MIT License
1 stars 2 forks source link

Consider running prettier separately #99

Open amannn opened 2 months ago

amannn commented 2 months ago

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