Custom ESLint rules #4/5: how to test custom rules
No pineapple pizza must be allowed in our code. That is why, in the previous bite, we created a custom ESLint plugin with a dedicated rule to forbid it. It's now time to test it!
Create ESLint plugin unit tests
Install eslint as devDependency and cre...
bite-sized.hashnode.dev3 min read