79594898

Date: 2025-04-27 09:44:44
Score: 3
Natty:
Report link

I have the same issue using VS Code for a NestJS + Mongoose server project. The same solution mentioned in several answers above, with a twist: Put it in the eslint.config.mjs` (extension can also be js or whatever you are using for eslint.config.

Put the following in the `rules` object:

rules: {
    ...
    "prettier/prettier": [
        "error",
        {
            "endOfLine": "auto"
        }
    ],
    ...
Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
Posted by: Binyamin Regev