0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/frontend/helpers
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
..
tpl Updated frontend helpers to handle tiers visibility 2022-02-01 11:13:51 +05:30
asset.js 🐛 Fixed broken assets for theme/design preview 2021-11-03 11:20:04 +01:00
author.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
authors.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
body_class.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
cancel_link.js Added eslint exemption for camelcase line 2022-02-07 13:16:05 +01:00
concat.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
content.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
date.js Added timezone and locale to the options of the date helper (#13892) 2022-01-19 14:43:53 +00:00
encode.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
excerpt.js Updated eslint-plugin-ghost & fixed resulting failures 2022-02-21 12:30:12 +00:00
facebook_url.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
foreach.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
get.js Supported restricting limit="all" in get helper (#13903) 2021-12-16 13:59:39 +02:00
ghost_foot.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
ghost_head.js 🐛 Fixed card scripts executing before DOM is parsed 2021-12-08 17:54:37 +02:00
has.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
img_url.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
is.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
lang.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
link.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
link_class.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
match.js Added basic {{match}} helper 2021-10-14 19:36:56 +01:00
meta_description.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
meta_title.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
navigation.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
page_url.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
pagination.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
plural.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
post_class.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
prev_post.js Updated frontend helpers to handle tiers visibility 2022-02-01 11:13:51 +05:30
price.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
products.js Updated frontend helpers to handle tiers visibility 2022-02-01 11:13:51 +05:30
raw.js Added raw handlebars helper 2020-04-06 17:26:50 +01:00
reading_time.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
t.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
tags.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
title.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
twitter_url.js Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
url.js 🐛 Fixed malformed URLs crashing the url helper 2021-12-02 10:34:24 +01:00