Lint all the things

This commit is contained in:
Dave
2025-08-19 16:23:29 -04:00
parent f6d6b548be
commit 33fb60ca1a
640 changed files with 2129 additions and 3927 deletions

View File

@@ -14,7 +14,6 @@ import PhoneFormItem, { PhoneItemFormatterValidation } from "../form-items-forma
import FormListMoveArrows from "../form-list-move-arrows/form-list-move-arrows.component";
import LayoutFormRow from "../layout-form-row/layout-form-row.component";
// eslint-disable-next-line no-undef
const timeZonesList = Intl.supportedValuesOf("timeZone");
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop
@@ -32,7 +31,7 @@ export function ShopInfoGeneral({ form, bodyshop }) {
} = useSplitTreatments({
attributes: {},
names: ["ClosingPeriod", "ADPPayroll"],
splitKey: bodyshop && bodyshop.imexshopid
splitKey: bodyshop?.imexshopid
});
return (
@@ -543,7 +542,12 @@ export function ShopInfoGeneral({ form, bodyshop }) {
>
<InputNumber min={0.1} precision={1} />
</Form.Item>,
<Form.Item key="use_fippa" label={t("bodyshop.fields.use_fippa")} name={["use_fippa"]} valuePropName="checked">
<Form.Item
key="use_fippa"
label={t("bodyshop.fields.use_fippa")}
name={["use_fippa"]}
valuePropName="checked"
>
<Switch />
</Form.Item>,
<Form.Item
@@ -924,7 +928,7 @@ export function ShopInfoGeneral({ form, bodyshop }) {
</LayoutFormRow>
<LayoutFormRow
grow
header=<span id="insurancecos-header">{t("bodyshop.labels.insurancecos")}</span>
header={<span id="insurancecos-header">{t("bodyshop.labels.insurancecos")}</span>}
id="insurancecos"
>
<Form.List name={["md_ins_cos"]}>