Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

fix(web): fix prettier formatting in plugins/filters.ts

Acho Arnold2bc97d1f60c9
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 322aa953..28ef7cf0 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -17,3 +17,4 @@ repos:
rev: v3.1.0
hooks:
- id: prettier
+ exclude: ^web/
diff --git a/web/plugins/filters.ts b/web/plugins/filters.ts
index f9355178..d4f3c942 100644
--- a/web/plugins/filters.ts
+++ b/web/plugins/filters.ts
@@ -74,10 +74,10 @@ Vue.filter('billingPeriodDateOrdinal', (value: string): string => {
day % 10 === 1 && day !== 11
? 'st'
: day % 10 === 2 && day !== 12
- ? 'nd'
- : day % 10 === 3 && day !== 13
- ? 'rd'
- : 'th'
+ ? 'nd'
+ : day % 10 === 3 && day !== 13
+ ? 'rd'
+ : 'th'
return `${month} ${day}<sup>${suffix}</sup> ${year}`
})