Open spaceninja opened 1 week ago
@Paul-Hebert wondered why we keep a copy of the prefer-early-return rule in this repo, rather than importing it from another package, perhaps this one:
prefer-early-return
For now, I wanted to rock the boat as little as possible, but it's a good idea to see if there's a maintained copy of this rule out there somewhere.
Better idea: Grab it from the original source, the Shopify ESLint plugin: https://github.com/Shopify/web-configs/tree/main/packages/eslint-plugin
@Paul-Hebert wondered why we keep a copy of the
prefer-early-return
rule in this repo, rather than importing it from another package, perhaps this one:For now, I wanted to rock the boat as little as possible, but it's a good idea to see if there's a maintained copy of this rule out there somewhere.