I really need help. Installed ESlint and got the error "This line has a length of 262. Maximum allowed is 120 max-len". How can I shorten this line? When I just translate with Enter, the code just doesn’t work.
{
actualTask: 'Актуальне питання? ',
answer: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when anunknown
printer took a galley of type and scrambled it to make a type specimen book."
},
>Solution :
Just concatenate different parts of the string:
{
actualTask: 'Актуальне питання? ',
answer: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem " +
"Ipsum has been the industry's standard dummy text ever since the 1500s, when anunknown " +
"printer took a galley of type and scrambled it to make a type specimen book."
},
