Skip to content

Commit e78bb08

Browse files
authored
Remove unnecessary oxlint-disables (#3437)
The issue motivating these has been resolved.
1 parent 129a4a5 commit e78bb08

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

‎app/components/form/fields/RadioField.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ export function RadioField<
8080
</div>
8181
<RadioGroup
8282
defaultChecked={field.value}
83-
// oxlint-disable-next-line jsx-a11y/aria-proptypes -- https://github.com/oxc-project/oxc/issues/17465
8483
aria-labelledby={`${id}-label`}
8584
onChange={(e) =>
8685
parseValue ? field.onChange(parseValue(e.target.value)) : field.onChange(e)

‎app/components/form/fields/TextField.tsx‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ export const TextFieldInner = <
135135
title={label}
136136
type={type}
137137
error={!!error}
138-
// oxlint-disable-next-line jsx-a11y/aria-proptypes -- https://github.com/oxc-project/oxc/issues/17465
139138
aria-labelledby={`${id}-label ${id}-help-text`}
140139
onChange={(e) => onChange(transform ? transform(e.target.value) : e.target.value)}
141140
{...fieldRest}

‎app/forms/instance-create.tsx‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,6 @@ const UserDataField = ({
11831183
<RadioGroup
11841184
name="userDataSource"
11851185
className="mb-4"
1186-
// oxlint-disable-next-line jsx-a11y/aria-proptypes -- https://github.com/oxc-project/oxc/issues/17465
11871186
aria-labelledby="user-data-label"
11881187
defaultChecked={source}
11891188
onChange={(e) => sourceField.field.onChange(e.target.value)}
@@ -1199,7 +1198,6 @@ const UserDataField = ({
11991198
rows={8}
12001199
name="userDataText"
12011200
label="User data"
1202-
// oxlint-disable-next-line jsx-a11y/aria-proptypes -- https://github.com/oxc-project/oxc/issues/17465
12031201
aria-labelledby="user-data-label user-data-help-text"
12041202
// user data is usually YAML or a script, where indentation matters
12051203
fieldClassName="text-mono-code!"
@@ -1210,7 +1208,6 @@ const UserDataField = ({
12101208
<div hidden={source !== 'file'}>
12111209
<FileInput
12121210
id="user-data-file"
1213-
// oxlint-disable-next-line jsx-a11y/aria-proptypes -- https://github.com/oxc-project/oxc/issues/17465
12141211
aria-labelledby="user-data-label user-data-help-text"
12151212
disabled={disabled}
12161213
{...fileField}

0 commit comments

Comments
 (0)