diff --git a/src/components/checkbox-group.tsx b/src/components/checkbox-group.tsx index 9258347..bf9c222 100644 --- a/src/components/checkbox-group.tsx +++ b/src/components/checkbox-group.tsx @@ -72,7 +72,7 @@ class CheckboxGroup extends React.Component { }`; const controls = [] as JSX.Element[]; - for(let i = 0; i < options.length; i++) { + for (let i = 0; i < options.length; i++) { const checkbox = options[i]; const checked = value.indexOf(checkbox.value) !== -1; const isDisabled = checkbox.disabled || disabled; @@ -97,7 +97,9 @@ class CheckboxGroup extends React.Component { - {isLast && showErrors ? : null} + {isLast && showErrors ? ( + + ) : null} ); controls.push(control); diff --git a/src/components/select.tsx b/src/components/select.tsx index 65bf1fb..9c84190 100644 --- a/src/components/select.tsx +++ b/src/components/select.tsx @@ -67,7 +67,9 @@ class Select extends React.Component { const control = ( ; + /* eslint-enable @typescript-eslint/no-explicit-any */ } /** @@ -60,6 +62,7 @@ interface RequiredFromOriginalComponentProps { * the form, while retaining the ability to override the prop on a per-component * basis. */ +// eslint-disable-next-line @typescript-eslint/explicit-function-return-type const withFRC = ( Component: | React.ComponentClass