Docs: custom rule tutorial doesn't work with v9 #18382
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
bug
ESLint is working incorrectly
documentation
Relates to ESLint's documentation
Docs page(s)
https://eslint.org/docs/latest/extend/custom-rule-tutorial
What documentation issue do you want to solve?
Following the documentation, this error occurs seemingly hinting at the new ESLint v9 flat config format change. Things work when downgrading to ESLint v8 with
npm install eslint@8 --save-dev
.What do you think is the correct solution?
I'm not familiar with how the flat format change affects custom rules, and I'm stuck here. Someone knowledgeable should probably make the necessary changes to publish the correct way of making custom rules in this tutorial.
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: