globally handle no-unused-vars

This commit is contained in:
David Lechner
2020-06-10 21:59:34 -05:00
committed by David Lechner
parent 292f2d83d2
commit 818e7867ee
2 changed files with 3 additions and 3 deletions
+1 -3
View File
@@ -29,8 +29,7 @@ function* open(action: EditorOpenAction): Generator {
editor.setValue(text);
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
function* saveAs(action: EditorSaveAsAction): Generator {
function* saveAs(_action: EditorSaveAsAction): Generator {
const editor = (yield select(
(s: RootState) => s.editor.current,
)) as Ace.EditSession | null;
@@ -46,7 +45,6 @@ function* saveAs(action: EditorSaveAsAction): Generator {
FileSaver.saveAs(blob, 'main.py');
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
function* reloadProgram(_action: EditorReloadProgramAction): Generator {
const editor = (yield select(
(s: RootState) => s.editor.current,