Skip to content

Commit abf6cea

Browse files
committed
Fix the last eslint error
1 parent a409533 commit abf6cea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ContextMenu.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ export default class ContextMenu extends AbstractMenu {
153153
this.handleHide(e);
154154
};
155155

156+
// Disabling this rule for more consistency.
157+
/* eslint-disable-next-line class-methods-use-this */
156158
hideMenu = (e) => {
157159
if (e.keyCode === 27 || e.keyCode === 13) { // ECS or enter
158160
hideMenu();

0 commit comments

Comments
 (0)