Ghost/test/e2e-api
Hannah Wolfe 5bf12939e4
Updated eslint-plugin-ghost & fixed resulting failures
- I recently added a bunch of strict rules to our eslint plugin around returns: ca9af37866
- These mostly are issues that occur whilst writing code, that you spot and fix as you're developing, but they're annoying to notice/find and eslint can be used to flag them quickly
- There are of course, edge cases where you don't need to return from array fns, but this rule also suggests better patterns might be available
- For our excert helper and new assertEvent helper, I've updated the code to use simpler patterns that are easier to read, so as to avoid the warnings
- For our old API I've simply disabled the rule as we're about to delete this code
2022-02-21 12:30:12 +00:00
..
admin Updated eslint-plugin-ghost & fixed resulting failures 2022-02-21 12:30:12 +00:00
content Renamed withBackend/withFrotned to backend/frontend 2021-11-22 21:56:32 +13:00
members Added default values for Stripe config in tests 2022-02-21 20:06:20 +13:00