chore(deps): lock file maintenance npm dependencies (#6282)

* chore(deps): lock file maintenance npm dependencies

* chore(deps): run pnpm update

* chore: add parserOptions

* refactor: fix @eslint-react/no-implicit-key

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com>
This commit is contained in:
renovate[bot]
2026-02-09 07:37:07 +00:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Slinetrac
parent 88764d763c
commit a7041657c9
5 changed files with 1048 additions and 978 deletions
+24 -10
View File
@@ -490,11 +490,18 @@ export const GroupsEditorViewer = (props: Props) => {
]}
value={field.value}
getOptionLabel={translateStrategy}
renderOption={(props, option) => (
<li {...props} title={translateStrategy(option)}>
{translateStrategy(option)}
</li>
)}
renderOption={(props, option) => {
const { key, ...optionProps } = props;
return (
<li
key={key}
{...optionProps}
title={translateStrategy(option)}
>
{translateStrategy(option)}
</li>
);
}}
onChange={(_, value) => value && field.onChange(value)}
renderInput={(params) => <TextField {...params} />}
/>
@@ -557,11 +564,18 @@ export const GroupsEditorViewer = (props: Props) => {
disableCloseOnSelect
onChange={(_, value) => value && field.onChange(value)}
renderInput={(params) => <TextField {...params} />}
renderOption={(props, option) => (
<li {...props} title={translatePolicy(option)}>
{translatePolicy(option)}
</li>
)}
renderOption={(props, option) => {
const { key, ...optionProps } = props;
return (
<li
key={key}
{...optionProps}
title={translatePolicy(option)}
>
{translatePolicy(option)}
</li>
);
}}
getOptionLabel={translatePolicy}
/>
</Item>
@@ -557,11 +557,12 @@ export const RulesEditorViewer = (props: Props) => {
t(RULE_TYPE_LABEL_KEYS[option.name] ?? option.name)
}
renderOption={(props, option) => {
const { key, ...optionProps } = props;
const label = t(
RULE_TYPE_LABEL_KEYS[option.name] ?? option.name,
);
return (
<li {...props} title={label}>
<li key={key} {...optionProps} title={label}>
{label}
</li>
);
@@ -624,9 +625,10 @@ export const RulesEditorViewer = (props: Props) => {
t(PROXY_POLICY_LABEL_KEYS[option] ?? option)
}
renderOption={(props, option) => {
const { key, ...optionProps } = props;
const label = t(PROXY_POLICY_LABEL_KEYS[option] ?? option);
return (
<li {...props} title={label}>
<li key={key} {...optionProps} title={label}>
{label}
</li>
);