0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -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
authors.js
body_class.js
cancel_link.js Added eslint exemption for camelcase line 2022-02-07 13:16:05 +01:00
concat.js
content.js
date.js Added timezone and locale to the options of the date helper (#13892) 2022-01-19 14:43:53 +00:00
encode.js
excerpt.js Updated eslint-plugin-ghost & fixed resulting failures 2022-02-21 12:30:12 +00:00
facebook_url.js
foreach.js
get.js Supported restricting limit="all" in get helper (#13903) 2021-12-16 13:59:39 +02:00
ghost_foot.js
ghost_head.js 🐛 Fixed card scripts executing before DOM is parsed 2021-12-08 17:54:37 +02:00
has.js
img_url.js
is.js
lang.js
link.js
link_class.js
match.js
meta_description.js
meta_title.js
navigation.js
page_url.js
pagination.js
plural.js
post_class.js
prev_post.js Updated frontend helpers to handle tiers visibility 2022-02-01 11:13:51 +05:30
price.js
products.js Updated frontend helpers to handle tiers visibility 2022-02-01 11:13:51 +05:30
raw.js
reading_time.js
t.js
tags.js
title.js
twitter_url.js
url.js 🐛 Fixed malformed URLs crashing the url helper 2021-12-02 10:34:24 +01:00