jpbulman / OnlyTheRecipe

Recipe websites have too much clutter, this scrapes *just* the recipe
https://www.onlytherecipe.org/
54 stars 12 forks source link

Ensure domains' alphabetical ordering with ESLint rules #39

Open Eldemarkki opened 2 years ago

Eldemarkki commented 2 years ago

This change will make sure that all domains are in alphabetical order with the sort-keys ESLint rule. I had to do some changes to the codebase (like remove the big supportedDomains array) to make it work, and it will probably cause a lot of merge conflicts with the other PRs. However, I think this is much cleaner than duplicating the domain list in 2 places (supportedDomains and recipeSelectors).

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/jpbulman/only-the-recipe/5KEV8ojyofc8YENvPq7eRzqKpMf5
✅ Preview: https://only-the-recipe-git-fork-eldemarkki-ensure-alph-760f31-jpbulman.vercel.app