0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

chore(console): temporarily bypass new lint rules

This commit is contained in:
Gao Sun 2022-10-10 17:19:22 +08:00
parent 21bb2dd144
commit 8c2faa1099
No known key found for this signature in database
GPG key ID: 13EBE123E4773688
3 changed files with 6 additions and 0 deletions

View file

@ -60,6 +60,8 @@ const LanguagesForm = ({ isManageLanguageVisible = false }: Props) => {
/>
</FormField>
{isManageLanguageVisible && (
// TODO: @yijun
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
<div
className={classNames(textButtonStyles.button, styles.manageLanguage)}
onClick={() => {

View file

@ -81,6 +81,8 @@ const AddLanguageSelector = ({ options, onSelect }: Props) => {
{isDropDownOpen && filteredOptions.length > 0 && (
<ul className={style.dropDown}>
{filteredOptions.map((languageTag) => (
// TODO: @yijun
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-noninteractive-element-interactions
<li
key={languageTag}
className={style.dropDownItem}

View file

@ -20,6 +20,8 @@ const LanguageItem = ({ languageTag, isSelected, onClick }: Props) => {
}, [isSelected]);
return (
// TODO: @yijun
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
<div
ref={itemRef}
className={classNames(style.languageItem, isSelected && style.selected)}