Hi, thanks for this, I hope this package get traction. I may add it to the default starter for Vite ESLint templates.
I've also migrated the rules I needed on my custom config, and one of them was one to ensure Context gets a proper name so in the devtools you get FormContext.Provider and not some generic Context.Provider. For components I think this is not needed.
My implementation (The same name check is a safety check against copy paste, but might be to opinionated for public rules)
Hi, thanks for this, I hope this package get traction. I may add it to the default starter for Vite ESLint templates.
I've also migrated the rules I needed on my custom config, and one of them was one to ensure Context gets a proper name so in the devtools you get
FormContext.Provider
and not some genericContext.Provider
. For components I think this is not needed.My implementation (The same name check is a safety check against copy paste, but might be to opinionated for public rules)