diff options
| author | Fuwn <[email protected]> | 2026-02-07 02:00:59 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-07 02:00:59 -0800 |
| commit | f93bad7da47093a12116ff0f390abb548289b600 (patch) | |
| tree | e2a9debcca3473af8f293c3215704549e5bde17f /apps/web/app/reader/settings/_components/billing-settings.tsx | |
| parent | style: format Go worker with iku (diff) | |
| download | asa.news-f93bad7da47093a12116ff0f390abb548289b600.tar.xz asa.news-f93bad7da47093a12116ff0f390abb548289b600.zip | |
style: lowercase all user-facing strings and add custom eslint rule
Comprehensive sweep of all user-facing text to enforce lowercase
convention, including acronyms (api, rest, http, opml, json, totp,
mfa, qr, hmac). Added asa-lowercase/lowercase-strings eslint rule
that reports uppercase in notify() calls, error messages, jsx text,
and checked attributes (placeholder, alt, title).
Diffstat (limited to 'apps/web/app/reader/settings/_components/billing-settings.tsx')
| -rw-r--r-- | apps/web/app/reader/settings/_components/billing-settings.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/app/reader/settings/_components/billing-settings.tsx b/apps/web/app/reader/settings/_components/billing-settings.tsx index e49720a..4c62f16 100644 --- a/apps/web/app/reader/settings/_components/billing-settings.tsx +++ b/apps/web/app/reader/settings/_components/billing-settings.tsx @@ -26,7 +26,7 @@ function useCreateCheckoutSession() { if (!response.ok) { const data = await response.json() - throw new Error(data.error || "Failed to create checkout session") + throw new Error(data.error || "failed to create checkout session") } const data = await response.json() @@ -44,7 +44,7 @@ function useCreatePortalSession() { if (!response.ok) { const data = await response.json() - throw new Error(data.error || "Failed to create portal session") + throw new Error(data.error || "failed to create portal session") } const data = await response.json() @@ -58,14 +58,14 @@ const PRO_FEATURES = [ `${Number.isFinite(TIER_LIMITS.pro.historyRetentionDays) ? TIER_LIMITS.pro.historyRetentionDays.toLocaleString() + " days" : "unlimited"} history retention`, `${TIER_LIMITS.pro.refreshIntervalSeconds / 60}-minute refresh interval`, "authenticated feeds", - "OPML export", + "opml export", "manual feed refresh", ] const DEVELOPER_FEATURES = [ `${TIER_LIMITS.developer.maximumFeeds} feeds`, "everything in pro", - "read-only REST API", + "read-only rest api", "webhook push notifications", ] |