dilanx / craco

Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
https://craco.js.org
Apache License 2.0
7.43k stars 499 forks source link

Need Craco Eslint Example on Website #498

Open allan-bonadio opened 1 year ago

allan-bonadio commented 1 year ago

It should work with ESLint, as advertised. And, I shouldn't have to comb the internet to figure how to make it work correctly.

All I want to do is to disable a few eslint rules. Should be simple. But, I have no examples to go by. This, from your ESLint page, is not an example that illustrates how to do it: configure: { / ... / },

In the attached file, I have my latest and greatest attempt: 48 lines of code to disable 5 rules, except none of it works.
craco.config.txt

PS: Also included are 16 lines that enable/disable 9 features, that WORKED THE FIRST TIME! 😀 YAY!!! 😀 🌈 🌼 🌸 🏆 🥇 💯 🆒 Thank you, I've been trying to disable HotReload for more than a year!

PLEASE update your site. You don't have to reply to me; I can just ignore eslint for now. The devServer changes are really big in my dev project!