effector/eslint-plugin

Rule: `no-restore`

igorkamyshev opened this issue ยท 1 comments

Personally, I hate restore because of the following pattern ๐Ÿ‘‡

const $currency = restore(currencyInited, null).on(settingsChanges, (_, { ccurency}) => currency);

Furthermore, I doubt that one line of code is a good reason to skip the full store declaration.

I think this rule would be nice to add to a strict preset