У меня есть сообщение об ошибке 180 символов, поэтому я разделил его на 2 строки, так как мой .eslintr c имеет
"max-len": ["error", { "code": 160 }],
Мой код -
import { useTranslation } from 'react-i18next'
.
.
.
.
const { t } = useTranslation()
<Typography variant='h6'>
{t('This is a really long messge and I am trying hard to split it into 2 lines as my eslint rules \n' +
'does not allow more than 160 characters on one line')}
</Typography>
Но это не переводит многострочный текст. Как мне этого добиться?