Skip to content

Commit

Permalink
chore(lint/a11y): fixing and locking down jsx-a11y/anchor-is-valid (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas authored and sfirke committed Mar 22, 2024
1 parent 228f3bc commit cdd863f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion superset-frontend/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ module.exports = {
'import/no-named-as-default-member': 0,
'import/prefer-default-export': 0,
indent: 0,
'jsx-a11y/anchor-is-valid': 1,
'jsx-a11y/anchor-is-valid': 2,
'jsx-a11y/click-events-have-key-events': 0, // re-enable up for discussion
'jsx-a11y/mouse-events-have-key-events': 0, // re-enable up for discussion
'max-classes-per-file': 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function renderQueryLimit(
{[...new Set(limitDropdown)].map(limit => (
<Menu.Item key={`${limit}`} onClick={() => setQueryLimit(limit)}>
{/* // eslint-disable-line no-use-before-define */}
<a role="button">{convertToNumWithSpaces(limit)}</a>{' '}
{convertToNumWithSpaces(limit)}{' '}
</Menu.Item>
))}
</Menu>
Expand Down

0 comments on commit cdd863f

Please sign in to comment.