Untitled
unknown
javascript
2 years ago
23 kB
7
Indexable
Failed to compile. ./components/Controllers/Holidays/index.tsx 77:14 Error: Replace `·onClick={handleOnSubmit}·disabled={isDisableSubmit·||·isLoading}·style={{·marginBlock:·'24px'·}}` with `⏎········onClick={handleOnSubmit}⏎········disabled={isDisableSubmit·||·isLoading}⏎········style={{·marginBlock:·'24px'·}}⏎······` prettier/prettier ./components/Controllers/Print/index.tsx 47:14 Error: Replace `<NotificationWithPassport·mailings={mailings}·split={queryParams.split·as·TPrintSplit}·/>` with `(⏎········<NotificationWithPassport·mailings={mailings}·split={queryParams.split·as·TPrintSplit}·/>⏎······)` prettier/prettier ./components/Forms/BaseForm/index.tsx 18:10 Error: Replace `·form,·fields,·values,·onSubmit,·onValuesChange,·editMode,·onToggleEditMode,·withToggleEditMode,·type·}·=⏎···` with `⏎····form,⏎····fields,⏎····values,⏎····onSubmit,⏎····onValuesChange,⏎····editMode,⏎····onToggleEditMode,⏎····withToggleEditMode,⏎····type,⏎··}·=` prettier/prettier 22:12 Error: Replace `·form={form}·onFinish={onSubmit}·onValuesChange={onValuesChange}·disabled={!editMode}·{...props}` with `⏎········form={form}⏎········onFinish={onSubmit}⏎········onValuesChange={onValuesChange}⏎········disabled={!editMode}⏎········{...props}⏎······` prettier/prettier ./components/Forms/FormHeader/index.tsx 22:31 Error: Replace `<Button·onClick={()·=>·setSelectedGlobalId(values.global_id)}>Аудит·логи</Button>` with `(⏎··········<Button·onClick={()·=>·setSelectedGlobalId(values.global_id)}>Аудит·логи</Button>⏎········)` prettier/prettier ./components/Forms/ImportForm/index.tsx 68:35 Error: Replace `·(field?.viewDependency·?·field?.viewDependency?.value·===·false·:·true)` with `⏎··················field?.viewDependency·?·field?.viewDependency?.value·===·false·:·true,⏎················` prettier/prettier 83:84 Error: Replace `'import',·row.key` with `⏎························'import',⏎························row.key,⏎······················` prettier/prettier 88:52 Error: Replace `·?·Boolean(free_value_address)·===·field.viewDependency.value` with `⏎································?·Boolean(free_value_address)·===·field.viewDependency.value⏎·······························` prettier/prettier 91:45 Error: Replace `·key={field.dataIndex}·field={field}·rowIndex={row.key}` with `⏎································key={field.dataIndex}⏎································field={field}⏎································rowIndex={row.key}⏎·····························` prettier/prettier ./components/Forms/MailingForm/index.tsx 22:10 Error: Replace `·form,·values,·fields,·onSubmit,·onValuesChange,·editMode,·onToggleEditMode,·withToggleEditMode,·type·}·=` with `⏎····form,⏎····values,⏎····fields,⏎····onSubmit,⏎····onValuesChange,⏎····editMode,⏎····onToggleEditMode,⏎····withToggleEditMode,⏎····type,` prettier/prettier 23:3 Error: Replace `·` with `}·=` prettier/prettier 69:29 Error: Replace `·(editMode·&&·!values?.id·?·!field?.readOnly·&&·!field?.isNotCreateField·:·true)` with `⏎············editMode·&&·!values?.id·?·!field?.readOnly·&&·!field?.isNotCreateField·:·true,⏎··········` prettier/prettier ./components/Holidays/Calendar/index.tsx 15:43 Error: Replace `·holidays,·year,·onChangeYear,·onToggleDay·` with `⏎··holidays,⏎··year,⏎··onChangeYear,⏎··onToggleDay,⏎` prettier/prettier ./components/Icons/index.tsx 106:70 Error: Replace `<Icon·component={PdfSvg}·{...props}·/>` with `(⏎··<Icon·component={PdfSvg}·{...props}·/>⏎)` prettier/prettier 107:73 Error: Replace `<Icon·component={DeleteSvg}·{...props}·/>` with `(⏎··<Icon·component={DeleteSvg}·{...props}·/>⏎)` prettier/prettier 108:71 Error: Replace `<Icon·component={EditSvg}·{...props}·/>` with `(⏎··<Icon·component={EditSvg}·{...props}·/>⏎)` prettier/prettier 109:74 Error: Replace `<Icon·component={RestoreSvg}·{...props}·/>` with `(⏎··<Icon·component={RestoreSvg}·{...props}·/>⏎)` prettier/prettier 110:71 Error: Replace `<Icon·component={UserSvg}·{...props}·/>` with `(⏎··<Icon·component={UserSvg}·{...props}·/>⏎)` prettier/prettier ./components/Inputs/CheckboxInput.tsx 14:15 Error: Replace `·label={field.title}·name={field.dataIndex}·rules={field?.inputRules}·valuePropName={'checked'}` with `⏎······label={field.title}⏎······name={field.dataIndex}⏎······rules={field?.inputRules}⏎······valuePropName={'checked'}⏎····` prettier/prettier ./components/Inputs/ListInput.tsx 20:26 Error: Replace `·model={field.model}·withoutCreate={field?.withoutCreate}·{...inputProps}` with `⏎········model={field.model}⏎········withoutCreate={field?.withoutCreate}⏎········{...inputProps}⏎·····` prettier/prettier 32:30 Error: Replace `·model,·value:·records,·onChange,·withoutCreate·=·false·` with `⏎··model,⏎··value:·records,⏎··onChange,⏎··withoutCreate·=·false,⏎` prettier/prettier 58:31 Error: Replace `()·=>·isOpenNewForm·||·selectedRecordIndex·>=·0,·[isOpenNewForm,·selectedRecordIndex]` with `⏎····()·=>·isOpenNewForm·||·selectedRecordIndex·>=·0,⏎····[isOpenNewForm,·selectedRecordIndex],⏎··` prettier/prettier ./components/Inputs/Record/ActionsInput.tsx 19:16 Error: Replace `·type="link"·onClick={()·=>·onRemoveRecord(rowIndex)}·icon={<MinusCircleOutlined·/>}` with `⏎··········type="link"⏎··········onClick={()·=>·onRemoveRecord(rowIndex)}⏎··········icon={<MinusCircleOutlined·/>}⏎·······` prettier/prettier ./components/Inputs/Record/CheckboxInput.tsx 14:15 Error: Replace `·name={[rowIndex,·field.dataIndex]}·rules={field?.inputRules}·valuePropName={'checked'}` with `⏎······name={[rowIndex,·field.dataIndex]}⏎······rules={field?.inputRules}⏎······valuePropName={'checked'}⏎····` prettier/prettier ./components/Inputs/Record/SelectInput.tsx 4:9 Error: Replace `·ISelectDictionaryFormField,·ISelectOptionsFormField,·ISelectSearchFormField·` with `⏎··ISelectDictionaryFormField,⏎··ISelectOptionsFormField,⏎··ISelectSearchFormField,⏎` prettier/prettier 17:46 Error: Replace `·(option?.label.toLowerCase()·??·'').includes(input.toLowerCase())` with `⏎··········(option?.label.toLowerCase()·??·'').includes(input.toLowerCase())⏎········` prettier/prettier ./components/Inputs/Record/SelectWithCreateInput.tsx 46:17 Error: Replace `·name={[rowIndex,·field.createDataIndex]}·rules={field?.inputRules}·initialValue={textValue}` with `⏎········name={[rowIndex,·field.createDataIndex]}⏎········rules={field?.inputRules}⏎········initialValue={textValue}⏎······` prettier/prettier 47:15 Error: Replace `·{...inputProps}·suffix={<CloseOutlined·onClick={toggleInputType}·/>}·allowClear={false}` with `⏎··········{...inputProps}⏎··········suffix={<CloseOutlined·onClick={toggleInputType}·/>}⏎··········allowClear={false}⏎·······` prettier/prettier 57:46 Error: Replace `·(option?.label.toLowerCase()·??·'').includes(input.toLowerCase())` with `⏎··········(option?.label.toLowerCase()·??·'').includes(input.toLowerCase())⏎········` prettier/prettier ./components/Inputs/Record/TextInput.tsx 14:15 Error: Replace `·name={[rowIndex,·field.dataIndex]}·fieldKey={[rowIndex,·field.dataIndex]}·rules={field?.inputRules}` with `⏎······name={[rowIndex,·field.dataIndex]}⏎······fieldKey={[rowIndex,·field.dataIndex]}⏎······rules={field?.inputRules}⏎····` prettier/prettier ./components/Inputs/SelectInput.tsx 4:9 Error: Replace `·ISelectDictionaryFormField,·ISelectOptionsFormField,·ISelectSearchFormField·` with `⏎··ISelectDictionaryFormField,⏎··ISelectOptionsFormField,⏎··ISelectSearchFormField,⏎` prettier/prettier 16:46 Error: Replace `·(option?.label.toLowerCase()·??·'').includes(input.toLowerCase())` with `⏎··········(option?.label.toLowerCase()·??·'').includes(input.toLowerCase())⏎········` prettier/prettier ./components/Inputs/SelectWithCreateInput.tsx 43:17 Error: Replace `·label={field.title}·name={field.createDataIndex}·rules={field?.inputRules}·initialValue={textValue}` with `⏎········label={field.title}⏎········name={field.createDataIndex}⏎········rules={field?.inputRules}⏎········initialValue={textValue}⏎······` prettier/prettier 54:46 Error: Replace `·(option?.label.toLowerCase()·??·'').includes(input.toLowerCase())` with `⏎··········(option?.label.toLowerCase()·??·'').includes(input.toLowerCase())⏎········` prettier/prettier ./components/Layouts/SiteLayout/UserMenu/index.tsx 97:29 Error: Replace `()·=>·(user?.role·===·'админ'·?·adminMenuItems·:·defaultMenuItems),·[user]` with `⏎····()·=>·(user?.role·===·'админ'·?·adminMenuItems·:·defaultMenuItems),⏎····[user],⏎··` prettier/prettier ./components/Lists/ListFilters/index.tsx 9:98 Error: Insert `⏎···` prettier/prettier 11:12 Error: Replace `·title="Фильтры"·placement="right"·onClose={handleOnToggleShowFilters}·open={isShowFiltersForm}` with `⏎······title="Фильтры"⏎······placement="right"⏎······onClose={handleOnToggleShowFilters}⏎······open={isShowFiltersForm}⏎····` prettier/prettier 12:23 Error: Replace `·model={model}·type={'filters'}·onSubmit={handleOnSubmitFilters}·initialValues={filters}` with `⏎········model={model}⏎········type={'filters'}⏎········onSubmit={handleOnSubmitFilters}⏎········initialValues={filters}⏎······` prettier/prettier ./components/Mailings/MailingsControls/index.tsx 23:36 Error: Replace `<Button·onClick={()·=>·setOpenMassActionForm(true)}>Массовые·действия</Button>` with `(⏎··········<Button·onClick={()·=>·setOpenMassActionForm(true)}>Массовые·действия</Button>⏎········)` prettier/prettier 42:13 Error: Replace `·title="Создание·отчета"·open={openReportsForm}·footer={false}·onCancel={()·=>·setOpenReportsForm(false)}` with `⏎········title="Создание·отчета"⏎········open={openReportsForm}⏎········footer={false}⏎········onCancel={()·=>·setOpenReportsForm(false)}⏎······` prettier/prettier ./components/Mailings/MassActionForm/index.tsx 9:9 Error: Replace `·DateInputComponent,·NumberInputComponent,·ScannerInputComponent·` with `⏎··DateInputComponent,⏎··NumberInputComponent,⏎··ScannerInputComponent,⏎` prettier/prettier 59:43 Error: Replace `action·===·'update'·?·'изменению'·:·'удалению'` with `⏎········action·===·'update'·?·'изменению'·:·'удалению'⏎······` prettier/prettier 109:23 Error: Replace `·name={['filters',·'id_min']}·style={{·width:·'50%'·}}·rules={[requiredRule('Введите·от')]}` with `⏎··············name={['filters',·'id_min']}⏎··············style={{·width:·'50%'·}}⏎··············rules={[requiredRule('Введите·от')]}⏎············` prettier/prettier 112:23 Error: Replace `·name={['filters',·'id_max']}·style={{·width:·'50%'·}}·rules={[requiredRule('Введите·до')]}` with `⏎··············name={['filters',·'id_max']}⏎··············style={{·width:·'50%'·}}⏎··············rules={[requiredRule('Введите·до')]}⏎············` prettier/prettier 144:21 Error: Replace `·label="Срок·хранения"·name={['columns',·'store_until']}·rules={[validatorUpdateField]}` with `⏎············label="Срок·хранения"⏎············name={['columns',·'store_until']}⏎············rules={[validatorUpdateField]}⏎··········` prettier/prettier 147:21 Error: Replace `·label="Дата·вручения"·name={['columns',·'delivery_date']}·rules={[validatorUpdateField]}` with `⏎············label="Дата·вручения"⏎············name={['columns',·'delivery_date']}⏎············rules={[validatorUpdateField]}⏎··········` prettier/prettier ./components/Mailings/PrintForm/index.tsx 4:9 Error: Replace `·EPrintForm,·EPrintSplit,·IRangePrintParams,·TPrintForm,·TPrintSplit,·TRangePrintParams·` with `⏎··EPrintForm,⏎··EPrintSplit,⏎··IRangePrintParams,⏎··TPrintForm,⏎··TPrintSplit,⏎··TRangePrintParams,⏎` prettier/prettier 44:42 Error: Replace `·name="id_min"·style={{·width:·'50%'·}}·rules={[requiredRule('Введите·от')]}` with `⏎··············name="id_min"⏎··············style={{·width:·'50%'·}}⏎··············rules={[requiredRule('Введите·от')]}⏎············` prettier/prettier 47:42 Error: Replace `·name="id_max"·style={{·width:·'50%'·}}·rules={[requiredRule('Введите·до')]}` with `⏎··············name="id_max"⏎··············style={{·width:·'50%'·}}⏎··············rules={[requiredRule('Введите·до')]}⏎············` prettier/prettier 55:42 Error: Replace `·name="from"·style={{·width:·'50%'·}}·rules={[requiredRule('Введите·от')]}` with `⏎··············name="from"⏎··············style={{·width:·'50%'·}}⏎··············rules={[requiredRule('Введите·от')]}⏎············` prettier/prettier 58:42 Error: Replace `·name="to"·style={{·width:·'50%'·}}·rules={[requiredRule('Введите·до')]}` with `⏎··············name="to"⏎··············style={{·width:·'50%'·}}⏎··············rules={[requiredRule('Введите·до')]}⏎············` prettier/prettier 77:36 Error: Replace `·label="Тип·печати"·name="split"·rules={[requiredRule('Выберете·тип·печати')]}` with `⏎········label="Тип·печати"⏎········name="split"⏎········rules={[requiredRule('Выберете·тип·печати')]}⏎······` prettier/prettier ./components/Mailings/ReportsForm/index.tsx 56:45 Error: Replace `Акт·приема-передачи·переданных·в·доставку·(xlsx)` with `⏎············Акт·приема-передачи·переданных·в·доставку·(xlsx)⏎··········` prettier/prettier 76:25 Error: Replace `·label="Сотрудник"·name="employee_id"·rules={[requiredRule('Выберете·сотрудника')]}` with `⏎················label="Сотрудник"⏎················name="employee_id"⏎················rules={[requiredRule('Выберете·сотрудника')]}⏎··············` prettier/prettier 85:25 Error: Replace `·label="Группа·пользователей"·name="group_id"·rules={[requiredRule('Выберете·группу')]}` with `⏎················label="Группа·пользователей"⏎················name="group_id"⏎················rules={[requiredRule('Выберете·группу')]}⏎··············` prettier/prettier 100:21 Error: Replace `·label="Тип·фильтрации"·name="filter_type"·rules={[requiredRule('Выберете·тип·фильтрации')]}` with `⏎············label="Тип·фильтрации"⏎············name="filter_type"⏎············rules={[requiredRule('Выберете·тип·фильтрации')]}⏎··········` prettier/prettier 107:23 Error: Replace `·label="Сканер·-·номера·отправлений"·name={'ids'}·rules={[requiredRule('Введите·номера')]}` with `⏎··············label="Сканер·-·номера·отправлений"⏎··············name={'ids'}⏎··············rules={[requiredRule('Введите·номера')]}⏎············` prettier/prettier 114:27 Error: Replace `·name="from"·style={{·width:·'50%'·}}·rules={[requiredRule('Введите·от')]}` with `⏎··················name="from"⏎··················style={{·width:·'50%'·}}⏎··················rules={[requiredRule('Введите·от')]}⏎················` prettier/prettier 124:23 Error: Replace `·label="Группа·пользователей"·name="group_id"·rules={[requiredRule('Выберете·группу')]}` with `⏎··············label="Группа·пользователей"⏎··············name="group_id"⏎··············rules={[requiredRule('Выберете·группу')]}⏎············` prettier/prettier ./components/PrintForms/NotificationWithPassport/index.tsx 50:9 Error: Replace `·className={classNames('notification',·'notification_with_passport',·{·split_4:·split·===·'split4'·})}` with `⏎······className={classNames('notification',·'notification_with_passport',·{⏎········split_4:·split·===·'split4',⏎······})}⏎····` prettier/prettier 115:9 Error: Replace `·className={classNames('notification',·'notification_with_passport',·{·split_4:·split·===·'split4'·})}` with `⏎······className={classNames('notification',·'notification_with_passport',·{⏎········split_4:·split·===·'split4',⏎······})}⏎····` prettier/prettier 176:72 Error: Insert `⏎···············` prettier/prettier 196:59 Error: Insert `⏎················ ⏎···············` prettier/prettier 197:59 Error: Delete `· ⏎···············` prettier/prettier ./components/PrintForms/TwoSidedAnnouncing/index.tsx 48:9 Error: Replace `·className={classNames('announcing',·'twoside_announcing',·{·split_4:·split·===·'split4'·})}` with `⏎······className={classNames('announcing',·'twoside_announcing',·{·split_4:·split·===·'split4'·})}⏎····` prettier/prettier 131:18 Error: Replace `Письмо·можно·получить·на·следующий·рабочий·день·после·вручения·извещения·по·адресу:` with `⏎················Письмо·можно·получить·на·следующий·рабочий·день·после·вручения·извещения·по·адресу:⏎··············` prettier/prettier 151:93 Error: Insert `⏎·············` prettier/prettier 152:86 Error: Insert `⏎·············` prettier/prettier 163:9 Error: Replace `·className={classNames('announcing',·'twoside_announcing',·{·split_4:·split·===·'split4'·})}` with `⏎······className={classNames('announcing',·'twoside_announcing',·{·split_4:·split·===·'split4'·})}⏎····` prettier/prettier 172:93 Error: Replace `·означает,·что·на·Ваше·имя⏎············пришло·заказное·письмо.·Отправителем·могут·являться·ресурсосбытовые,·государственные·и·муниципальные,·а·так⏎············же·иные·коммерческие·и` with `⏎············означает,·что·на·Ваше·имя·пришло·заказное·письмо.·Отправителем·могут·являться⏎············ресурсосбытовые,·государственные·и·муниципальные,·а·так·же·иные·коммерческие·и⏎···········` prettier/prettier 175:101 Error: Delete `·телефону` prettier/prettier 176:12 Error: Replace `·8-964-864-55-77,·либо·обратиться·в·офис·по·адресу:·г.·Йошкар-Ола,·ул.·Комсомольская,·д.·132·с·понедельника⏎············по·пятницу·с·8.00·до·19.00,·в·субботу·с·10.00·до` with `·телефону·8-964-864-55-77,·либо·обратиться·в·офис·по·адресу:·г.·Йошкар-Ола,·ул.⏎············Комсомольская,·д.·132·с·понедельника·по·пятницу·с·8.00·до·19.00,·в·субботу·с·10.00·до⏎···········` prettier/prettier 180:99 Error: Replace `·и,·согласно·правилам⏎············оказания·услуг·почтовой·связи,·должно·быть·доставлено·лично` with `⏎············и,·согласно·правилам·оказания·услуг·почтовой·связи,·должно·быть·доставлено·лично⏎···········` prettier/prettier 186:92 Error: Insert `⏎···········` prettier/prettier info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Editor is loading...
Leave a Comment