diff --git a/eslint.config.js b/eslint.config.js index b62ef249e9..d9e5d160c6 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -33,20 +33,33 @@ module.exports = [ "scripts/api.js", "scripts/character_test.js", "scripts/control_bar.js", + "scripts/dropdown.js", "scripts/file_resume.js", + "scripts/filter_projects.js", "scripts/gettext.js", + "scripts/navbar_menu.js", "scripts/page_browse.js", + "scripts/page_table.js", + "scripts/project.js", "scripts/splitControl.js", - "scripts/text_view.js", + "scripts/svgGraphs.js", + "scripts/tasks.js", "scripts/text_validator.js", + "scripts/text_view.js", + "scripts/userprefs.js", "scripts/view_splitter.js", + "scripts/word_freq_table.js", "tools/page_browser.js", "tools/project_manager/handle_bad_page.js", "tools/project_manager/show_all_good_word_suggestions.js", "tools/project_manager/show_word_context.js", + "tools/proofers/dp_proof.js", + "tools/proofers/dp_scroll.js", "tools/proofers/previewControl.js", - "tools/proofers/proof_validate.js", "tools/proofers/proof_image.js", + "tools/proofers/proof_validate.js", + "tools/proofers/srchrep.js", + "tools/proofers/toolbox.js", "tools/proofers/wordcheck.js", ], }, diff --git a/scripts/svgGraphs.js b/scripts/svgGraphs.js index 7000bc7ee4..5d7f656550 100644 --- a/scripts/svgGraphs.js +++ b/scripts/svgGraphs.js @@ -1,6 +1,7 @@ /* global d3 */ /* exported barLineGraph, stackedAreaGraph, pieGraph */ +// eslint-disable-next-line no-unused-vars const { barLineGraph, stackedAreaGraph, pieGraph } = (function () { const margin = { top: 30, diff --git a/tools/proofers/dp_proof.js b/tools/proofers/dp_proof.js index 702e536fd5..1db79e9449 100644 --- a/tools/proofers/dp_proof.js +++ b/tools/proofers/dp_proof.js @@ -1,4 +1,4 @@ -/* eslint-disable no-use-before-define, no-undef, camelcase */ +/* eslint-disable no-use-before-define, no-undef, camelcase, no-unused-vars */ /* exported insertCharacter, surroundSelection, changeFontFamily, changeFontSize, showNW, replaceAllText, transformText, submitForm */ // This variable is set by initializeStuff() in dp_scroll.js var docRef = null; diff --git a/tools/proofers/dp_scroll.js b/tools/proofers/dp_scroll.js index 04469c6fb2..85c88e13fa 100644 --- a/tools/proofers/dp_scroll.js +++ b/tools/proofers/dp_scroll.js @@ -1,4 +1,4 @@ -/* eslint-disable no-undef */ +/* eslint-disable no-undef, no-unused-vars */ /* exported focusText, initializeStuff */ frameRef = null; // used by dp_proof.js diff --git a/tools/proofers/srchrep.js b/tools/proofers/srchrep.js index c06eeaf3e5..d15031a65e 100644 --- a/tools/proofers/srchrep.js +++ b/tools/proofers/srchrep.js @@ -1,3 +1,4 @@ +/* eslint-disable no-unused-vars */ /* exported srchrep */ var srchrep = (function () { diff --git a/tools/proofers/toolbox.js b/tools/proofers/toolbox.js index 1a2f7acb19..3cdc0c7b74 100644 --- a/tools/proofers/toolbox.js +++ b/tools/proofers/toolbox.js @@ -1,4 +1,4 @@ -/*global */ +/* eslint-disable no-unused-vars */ /* exported openToolboxPopup */ var openedToolboxPopups = [];