79139027

Date: 2024-10-29 21:23:34
Score: 2
Natty:
Report link

The problem turned out to be that even though the eslint.config.mjs file was installed, a .eslintrc.json file, which I thought was supposed to be deprecated, was also installed, and ESLint was using that. I removed it to see if the linter would pick up on the .mjs file but I got an error that way. So I restored .eslintrc.json, added my rule exceptions to that file, and it worked as expected. Shaking my head.

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (2): but I got an error
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Green Grasso Holm