Skip to content

Commit

Permalink
disable rule
Browse files Browse the repository at this point in the history
  • Loading branch information
claviska committed Nov 9, 2022
1 parent c626706 commit 0d97675
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ module.exports = {
curly: 'off',
'default-param-last': 'error',
eqeqeq: 'error',
'lit-a11y/click-events-have-key-events': 'off',
'no-constructor-return': 'error',
'no-empty-function': 'warn',
'no-eval': 'error',
Expand Down
2 changes: 0 additions & 2 deletions src/components/dialog/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ export default class SlDialog extends ShoelaceElement {
}

render() {
/* eslint-disable lit-a11y/click-events-have-key-events */
return html`
<div
part="base"
Expand Down Expand Up @@ -303,7 +302,6 @@ export default class SlDialog extends ShoelaceElement {
</div>
</div>
`;
/* eslint-enable lit-a11y/click-events-have-key-events */
}
}

Expand Down
2 changes: 0 additions & 2 deletions src/components/drawer/drawer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ export default class SlDrawer extends ShoelaceElement {
}
}

/* eslint-disable lit-a11y/click-events-have-key-events */
render() {
return html`
<div
Expand Down Expand Up @@ -334,7 +333,6 @@ export default class SlDrawer extends ShoelaceElement {
</div>
</div>
`;
/* eslint-enable lit-a11y/click-events-have-key-events */
}
}

Expand Down

0 comments on commit 0d97675

Please sign in to comment.