Closed nahtnam closed 3 months ago
Hey @nahtnam , thanks for the report!
So, here is what is going on: i didn't lock the version of eslint-ts-patch
. So when create-sheriff-config
install it, it install the latest version, which is the 9.5.0
.
The problem is that Sheriff is currently incompatible with ESLint version 9.X.X
, which is why you are seeing the error that you posted. There are 2 guardrails in place for the normal eslint.config.js
to avoid this error:
create-sheriff-config
install a locked version, the 8.57.0
8.57.0
as a peer dependency, so it should have errored out while installing 9.5.0
, like in your case. Not sure if you happened to see the npm warning or not.Anyway, for the meantime i'm gonna upload a PR that fixes this. But this is not really important anyway for 2 reasons:
Hey!
I was checking out sheriff for my project. I used the CLI and selected the ts-patch option. When running
eslint .
after, I get the following error:The generated eslint config was:
Any ideas on what might be going on? I've never used a flat config before