eslint-plugin icon indicating copy to clipboard operation
eslint-plugin copied to clipboard

Rule: `no-on`

Open igorkamyshev opened this issue 3 years ago • 3 comments

$store.on is less extendable than sample, and it could be replaced with sample. Let's add a rule to check this.

In my mind, we should not add it to recommended preset, but it would be useful in future preset (maybe).

igorkamyshev avatar Aug 29 '22 06:08 igorkamyshev

It would be useful in kind of strict preset

sergeysova avatar Aug 29 '22 09:08 sergeysova

Still valid? Sounds cool

gearonix avatar Feb 13 '24 09:02 gearonix

Still valid? Sounds cool

Yep, I think so. PRs are welcome 🙏

igorkamyshev avatar Feb 13 '24 17:02 igorkamyshev