chore: reformat code

This commit is contained in:
Rafael Taranto 2025-05-12 14:49:39 +01:00
parent 3d930aa73b
commit aedabcbdee
509 changed files with 6030 additions and 4266 deletions

View file

@ -5,7 +5,7 @@ const formatLong = value => {
return `${value.slice(0, 8)}(...)${value.slice(
value.length - 8,
value.length
value.length,
)}`
}
@ -18,7 +18,7 @@ const onlyFirstToUpper = R.compose(toFirstUpper, R.toLower)
const splitOnUpper = R.compose(
R.split(' '),
R.replace(/([A-Z])/g, ' $1'),
toFirstLower
toFirstLower,
)
const startCase = R.compose(R.join(' '), R.map(onlyFirstToUpper), splitOnUpper)
@ -32,5 +32,5 @@ export {
onlyFirstToUpper,
formatLong,
singularOrPlural,
sentenceCase
sentenceCase,
}