Ghost/core/frontend
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
..
apps Fixed AMP style compliance (#13912) 2021-12-21 21:32:53 -05:00
helpers Updated eslint-plugin-ghost & fixed resulting failures 2022-02-21 12:30:12 +00:00
meta 🐛 Fixed AssetHelper not working with svg (#13978) 2022-02-07 15:07:18 +00:00
public Revert "Used neutral background colors for default header styles" 2021-12-17 04:15:37 +01:00
services Updated frontend routing to include products for page/post 2022-02-01 11:13:51 +05:30
src/cards Applied default box sizing to all cards 2021-12-17 15:28:35 +01:00
views Updated wording on unsubscribe confirmation with paid conditional 2022-02-02 12:36:41 +00:00
web Updated caching policy for /members/.well-known 2022-01-14 14:04:23 +02:00