Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit edf258e

Browse files
committed
Clean up eslint unused vars
1 parent 5726979 commit edf258e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,15 @@ const createMarkdownShortcutsPlugin = (config = {}) => {
119119
}
120120
return 'not-handled';
121121
},
122-
handleReturn(ev, editorState, { setEditorState, getEditorState }) { // eslint-disable-line no-unused-vars
122+
handleReturn(ev, editorState, { setEditorState }) {
123123
const newEditorState = checkReturnForState(editorState, ev);
124124
if (editorState !== newEditorState) {
125125
setEditorState(newEditorState);
126126
return 'handled';
127127
}
128128
return 'not-handled';
129129
},
130-
handleBeforeInput(character, editorState, { getEditorState, setEditorState }) { // eslint-disable-line no-unused-vars
130+
handleBeforeInput(character, editorState, { setEditorState }) {
131131
if (character !== ' ') {
132132
return 'not-handled';
133133
}
@@ -138,7 +138,7 @@ const createMarkdownShortcutsPlugin = (config = {}) => {
138138
}
139139
return 'not-handled';
140140
},
141-
handlePastedText(text, html, editorState, { getEditorState, setEditorState }) { // eslint-disable-line no-unused-vars
141+
handlePastedText(text, html, editorState, { setEditorState }) {
142142
if (html) {
143143
return 'not-handled';
144144
}

0 commit comments

Comments
 (0)