phone: (value: string) => {
// eslint-disable-next-line
const pattern = /^\d[\d\(\)\ -]{4,14}\d$/;
return pattern.test(value) || 'Введи корректный телефон';
},
132:32 error Unnecessary escape character: \( no-useless-escape
132:34 error Unnecessary escape character: \) no-useless-escape
132:36 error Unnecessary escape character: \ . no-useless-escape