diff --git a/core/src/main/resources/hudson/model/UpdateCenter/_download-failure.js b/core/src/main/resources/hudson/model/UpdateCenter/_download-failure.js index 2040aab668..7d4bf51ff8 100644 --- a/core/src/main/resources/hudson/model/UpdateCenter/_download-failure.js +++ b/core/src/main/resources/hudson/model/UpdateCenter/_download-failure.js @@ -5,7 +5,7 @@ Behaviour.specify( function (anchor) { anchor.onclick = function (event) { event.preventDefault(); - // eslint-disable-next-line + // eslint-disable-next-line no-undef const n = findNext(this, function (el) { return el.tagName === "PRE"; }); diff --git a/eslint.config.cjs b/eslint.config.cjs new file mode 100644 index 0000000000..ee24402591 --- /dev/null +++ b/eslint.config.cjs @@ -0,0 +1,103 @@ +const eslintConfigPrettier = require("eslint-config-prettier"); +const globals = require("globals"); +const js = require("@eslint/js"); + +module.exports = [ + // Global ignores + { + ignores: [ + "**/target/", + "**/work/", + + // Node + "**/node/", + + // Generated JavaScript Bundles + "**/jsbundles/", + + // External scripts + "war/.pnp.cjs", + "war/.pnp.loader.mjs", + "war/src/main/js/plugin-setup-wizard/bootstrap-detached.js", + "war/src/main/webapp/scripts/yui/*", + ], + }, + { + languageOptions: { + ecmaVersion: 2022, + sourceType: "module", + globals: { + ...globals.browser, + applyTooltip: "readonly", + AutoScroller: "readonly", + Behaviour: "readonly", + breadcrumbs: "readonly", + buildFormTree: "readonly", + CodeMirror: "readonly", + ComboBox: "readonly", + COMBOBOX_VERSION: "writeable", + createSearchBox: "readonly", + crumb: "readonly", + dialog: "readonly", + ensureVisible: "readonly", + escapeHTML: "readonly", + findAncestor: "readonly", + findAncestorClass: "readonly", + findElementsBySelector: "readonly", + findFormParent: "readonly", + fireEvent: "readonly", + Form: "readonly", + getElementOverflowParams: "readonly", + hoverNotification: "readonly", + iota: "writeable", + isInsideRemovable: "readonly", + isPageVisible: "readonly", + isRunAsTest: "readonly", + layoutUpdateCallback: "readonly", + loadScript: "readonly", + makeButton: "readonly", + notificationBar: "readonly", + object: "readonly", + objectToUrlFormEncoded: "readonly", + onSetupWizardInitialized: "readonly", + refillOnChange: "readonly", + refreshPart: "readonly", + registerSortableDragDrop: "readonly", + renderOnDemand: "readonly", + rootURL: "readonly", + safeValidateButton: "readonly", + setupWizardExtensions: "readonly", + SharedArrayBuffer: "readonly", + shortenName: "readonly", + Sortable: "readonly", + toQueryString: "readonly", + ts_refresh: "readonly", + updateOptionalBlock: "readonly", + Utilities: "readonly", + UTILITIES_VERSION: "writeable", + YAHOO: "readonly", + }, + }, + }, + // Uses eslint default ruleset + js.configs.recommended, + eslintConfigPrettier, + { + rules: { + curly: "error", + }, + }, + { + files: [ + "eslint.config.cjs", + "war/postcss.config.js", + "war/webpack.config.js", + "war/.stylelintrc.js", + ], + languageOptions: { + globals: { + ...globals.node, + }, + }, + }, +]; diff --git a/war/.eslintignore b/war/.eslintignore deleted file mode 100644 index e7574ace3d..0000000000 --- a/war/.eslintignore +++ /dev/null @@ -1,14 +0,0 @@ -work -target -/rebel.xml - -# Node -node/ -node_modules/ - -# Generated JavaScript Bundles -jsbundles - -# External scripts -src/main/webapp/scripts/yui -src/main/js/plugin-setup-wizard/bootstrap-detached.js diff --git a/war/.eslintrc.js b/war/.eslintrc.js deleted file mode 100644 index 2df19942bd..0000000000 --- a/war/.eslintrc.js +++ /dev/null @@ -1,66 +0,0 @@ -/* eslint-env node */ -module.exports = { - env: { - browser: true, - es2022: true, - }, - // Uses eslint default ruleset - extends: ["eslint:recommended", "prettier"], - parserOptions: { - sourceType: "module", - ecmaVersion: 2022, - }, - rules: { - curly: "error", - }, - globals: { - applyTooltip: "readonly", - AutoScroller: "readonly", - Behaviour: "readonly", - breadcrumbs: "readonly", - buildFormTree: "readonly", - CodeMirror: "readonly", - ComboBox: "readonly", - COMBOBOX_VERSION: "writeable", - createSearchBox: "readonly", - crumb: "readonly", - dialog: "readonly", - ensureVisible: "readonly", - escapeHTML: "readonly", - findAncestor: "readonly", - findAncestorClass: "readonly", - findElementsBySelector: "readonly", - findFormParent: "readonly", - fireEvent: "readonly", - Form: "readonly", - getElementOverflowParams: "readonly", - hoverNotification: "readonly", - iota: "writeable", - isInsideRemovable: "readonly", - isPageVisible: "readonly", - isRunAsTest: "readonly", - layoutUpdateCallback: "readonly", - loadScript: "readonly", - makeButton: "readonly", - notificationBar: "readonly", - object: "readonly", - objectToUrlFormEncoded: "readonly", - onSetupWizardInitialized: "readonly", - refillOnChange: "readonly", - refreshPart: "readonly", - registerSortableDragDrop: "readonly", - renderOnDemand: "readonly", - rootURL: "readonly", - safeValidateButton: "readonly", - setupWizardExtensions: "readonly", - SharedArrayBuffer: "readonly", - shortenName: "readonly", - Sortable: "readonly", - toQueryString: "readonly", - ts_refresh: "readonly", - updateOptionalBlock: "readonly", - Utilities: "readonly", - UTILITIES_VERSION: "writeable", - YAHOO: "readonly", - }, -}; diff --git a/war/package.json b/war/package.json index dabd06b99a..2ee9d20fdc 100644 --- a/war/package.json +++ b/war/package.json @@ -14,24 +14,27 @@ "prod": "webpack --config webpack.config.js --mode=production", "build": "yarn prod", "start": "yarn dev --watch", - "lint:js": "eslint --config .eslintrc.js ../ --ext js && prettier --check ../", - "lint:js-ci": "eslint --config .eslintrc.js ../ --ext js -f checkstyle -o target/eslint-warnings.xml && prettier --check ../", + "lint:js": "eslint ../ && prettier --check ../", + "lint:js-ci": "eslint ../ -f checkstyle -o target/eslint-warnings.xml && prettier --check ../", "lint:css": "stylelint src/main/scss", "lint:css-ci": "stylelint src/main/scss --custom-formatter stylelint-checkstyle-reporter -o target/stylelint-warnings.xml", "lint:ci": "yarn lint:js-ci && yarn lint:css-ci", - "lint:fix": "prettier --write ../ && stylelint src/main/scss --fix && eslint --config .eslintrc.js --fix ../", + "lint:fix": "eslint --fix ../ && prettier --write ../ && stylelint src/main/scss --fix", "lint": "yarn lint:js && yarn lint:css" }, "devDependencies": { "@babel/cli": "7.24.1", "@babel/core": "7.24.4", "@babel/preset-env": "7.24.4", + "@eslint/js": "9.1.1", "babel-loader": "9.1.3", "clean-webpack-plugin": "4.0.0", "css-loader": "7.1.1", "css-minimizer-webpack-plugin": "6.0.0", - "eslint": "8.57.0", + "eslint": "9.1.1", "eslint-config-prettier": "9.1.0", + "eslint-formatter-checkstyle": "8.40.0", + "globals": "15.0.0", "handlebars-loader": "1.7.3", "mini-css-extract-plugin": "2.9.0", "postcss": "8.4.38", diff --git a/war/postcss.config.js b/war/postcss.config.js index 2886b7822f..3010c66dd7 100644 --- a/war/postcss.config.js +++ b/war/postcss.config.js @@ -1,4 +1,3 @@ -/* eslint-env node */ module.exports = { parser: "postcss-scss", plugins: { diff --git a/war/src/main/js/add-item.js b/war/src/main/js/add-item.js index 8c19a40353..13ab6fb47b 100644 --- a/war/src/main/js/add-item.js +++ b/war/src/main/js/add-item.js @@ -32,7 +32,7 @@ $.when(getItems()).done(function (data) { if (desc.indexOf('<a href="') === -1) { return desc; } - // eslint-disable-next-line + // eslint-disable-next-line no-useless-escape var newDesc = desc.replace(/\</g, "<").replace(/\>/g, ">"); return newDesc; } diff --git a/war/src/main/js/filter-build-history.js b/war/src/main/js/filter-build-history.js index 05fa29d05f..06a83a5b50 100644 --- a/war/src/main/js/filter-build-history.js +++ b/war/src/main/js/filter-build-history.js @@ -327,7 +327,6 @@ function checkRowCellOverflows(row) { detailsOverflowParams.scrollWidth < usableRowWidth / 2; } } - // eslint-disable-next-line no-inner-declarations function expandLeftWithRight( leftCellOverFlowParams, rightCellOverflowParams, diff --git a/war/src/main/js/pluginSetupWizardGui.js b/war/src/main/js/pluginSetupWizardGui.js index 7d123e3987..f2ae7fa8c6 100644 --- a/war/src/main/js/pluginSetupWizardGui.js +++ b/war/src/main/js/pluginSetupWizardGui.js @@ -288,6 +288,7 @@ var createPluginSetupWizard = function (appendTarget) { if (document.activeElement !== e) { e.focus(); } + // eslint-disable-next-line no-unused-vars } catch (ex) { // ignored, unable to restore focus } diff --git a/war/src/main/js/util/behavior-shim.js b/war/src/main/js/util/behavior-shim.js index 273efd6670..d605ecae33 100644 --- a/war/src/main/js/util/behavior-shim.js +++ b/war/src/main/js/util/behavior-shim.js @@ -1,10 +1,8 @@ function specify(selector, id, priority, behavior) { - // eslint-ignore-next-line Behaviour.specify(selector, id, priority, behavior); } function applySubtree(startNode, includeSelf) { - // eslint-ignore-next-line Behaviour.applySubtree(startNode, includeSelf); } diff --git a/war/src/main/webapp/scripts/behavior.js b/war/src/main/webapp/scripts/behavior.js index cb4d01821b..6ab59c627c 100644 --- a/war/src/main/webapp/scripts/behavior.js +++ b/war/src/main/webapp/scripts/behavior.js @@ -184,7 +184,6 @@ Behaviour.start(); function findElementsBySelector(startNode, selector, includeSelf) { if (includeSelf) { var isSelfOrChild = function (c) { - // eslint-disable-next-line no-constant-condition while (true) { if (startNode == c) { return true; diff --git a/war/src/main/webapp/scripts/hudson-behavior.js b/war/src/main/webapp/scripts/hudson-behavior.js index ca068e55e2..2d48f5fe78 100644 --- a/war/src/main/webapp/scripts/hudson-behavior.js +++ b/war/src/main/webapp/scripts/hudson-behavior.js @@ -360,7 +360,6 @@ function findNearBy(e, name) { function locate(iterator, e) { // keep finding elements until we find the good match - // eslint-disable-next-line no-constant-condition while (true) { e = iterator(e, name); if (e == null) { @@ -693,6 +692,7 @@ function registerValidator(e) { var url = e.targetUrl(); try { FormChecker.delayedCheck(url, method, e.targetElement); + // eslint-disable-next-line no-unused-vars } catch (x) { // this happens if the checkUrl refers to a non-existing element. // don't let this kill off the entire JavaScript diff --git a/war/src/main/webapp/scripts/sortable.js b/war/src/main/webapp/scripts/sortable.js index 83e1ff9ee7..7b4b9e8f4d 100644 --- a/war/src/main/webapp/scripts/sortable.js +++ b/war/src/main/webapp/scripts/sortable.js @@ -451,6 +451,7 @@ var Sortable = (function () { order: [YAHOO.util.StorageEngineGears], }, ); + // eslint-disable-next-line no-unused-vars } catch (e) { // no storage available storage = { diff --git a/war/webpack.config.js b/war/webpack.config.js index 2b65597c22..c5e8e17442 100644 --- a/war/webpack.config.js +++ b/war/webpack.config.js @@ -1,5 +1,3 @@ -/* eslint no-undef: 0 */ - const path = require("path"); const MiniCSSExtractPlugin = require("mini-css-extract-plugin"); const CssMinimizerPlugin = require("css-minimizer-webpack-plugin"); diff --git a/war/yarn.lock b/war/yarn.lock index b41442f564..0a48323a25 100644 --- a/war/yarn.lock +++ b/war/yarn.lock @@ -1848,38 +1848,38 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" +"@eslint/eslintrc@npm:^3.0.2": + version: 3.0.2 + resolution: "@eslint/eslintrc@npm:3.0.2" dependencies: ajv: "npm:^6.12.4" debug: "npm:^4.3.2" - espree: "npm:^9.6.0" - globals: "npm:^13.19.0" + espree: "npm:^10.0.1" + globals: "npm:^14.0.0" ignore: "npm:^5.2.0" import-fresh: "npm:^3.2.1" js-yaml: "npm:^4.1.0" minimatch: "npm:^3.1.2" strip-json-comments: "npm:^3.1.1" - checksum: 10c0/32f67052b81768ae876c84569ffd562491ec5a5091b0c1e1ca1e0f3c24fb42f804952fdd0a137873bc64303ba368a71ba079a6f691cee25beee9722d94cc8573 + checksum: 10c0/d8c92f06bdf8e2be9fcc0eeac4a9351745174adfcc72571ef3d179101cb55e19f15f6385c2a4f4945a3ba9245802d3371208e2e1e4f00f6bcf6b8711656af85a languageName: node linkType: hard -"@eslint/js@npm:8.57.0": - version: 8.57.0 - resolution: "@eslint/js@npm:8.57.0" - checksum: 10c0/9a518bb8625ba3350613903a6d8c622352ab0c6557a59fe6ff6178bf882bf57123f9d92aa826ee8ac3ee74b9c6203fe630e9ee00efb03d753962dcf65ee4bd94 +"@eslint/js@npm:9.1.1": + version: 9.1.1 + resolution: "@eslint/js@npm:9.1.1" + checksum: 10c0/b25d11736b91d8df44dd217e88adb1f43d2bd5911ef4f4033e51faffe370f28d329731ffbf841d0b8303c8eedb60bda8c3a9efe803bb3b3737a06bb22c09ad0c languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.14": - version: 0.11.14 - resolution: "@humanwhocodes/config-array@npm:0.11.14" +"@humanwhocodes/config-array@npm:^0.13.0": + version: 0.13.0 + resolution: "@humanwhocodes/config-array@npm:0.13.0" dependencies: - "@humanwhocodes/object-schema": "npm:^2.0.2" + "@humanwhocodes/object-schema": "npm:^2.0.3" debug: "npm:^4.3.1" minimatch: "npm:^3.0.5" - checksum: 10c0/66f725b4ee5fdd8322c737cb5013e19fac72d4d69c8bf4b7feb192fcb83442b035b92186f8e9497c220e58b2d51a080f28a73f7899bc1ab288c3be172c467541 + checksum: 10c0/205c99e756b759f92e1f44a3dc6292b37db199beacba8f26c2165d4051fe73a4ae52fdcfd08ffa93e7e5cb63da7c88648f0e84e197d154bbbbe137b2e0dd332e languageName: node linkType: hard @@ -1890,10 +1890,17 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.2": - version: 2.0.2 - resolution: "@humanwhocodes/object-schema@npm:2.0.2" - checksum: 10c0/6fd83dc320231d71c4541d0244051df61f301817e9f9da9fd4cb7e44ec8aacbde5958c1665b0c419401ab935114fdf532a6ad5d4e7294b1af2f347dd91a6983f +"@humanwhocodes/object-schema@npm:^2.0.3": + version: 2.0.3 + resolution: "@humanwhocodes/object-schema@npm:2.0.3" + checksum: 10c0/80520eabbfc2d32fe195a93557cef50dfe8c8905de447f022675aaf66abc33ae54098f5ea78548d925aa671cd4ab7c7daa5ad704fe42358c9b5e7db60f80696c + languageName: node + linkType: hard + +"@humanwhocodes/retry@npm:^0.2.3": + version: 0.2.3 + resolution: "@humanwhocodes/retry@npm:0.2.3" + checksum: 10c0/0913d89bb5cb1f0a049a6c068dee312d30920d5cce5a07588cd91fcb5453af52f2a9826d07d465066b92ad7bc0545e9f59384c414abe27745c79141c78a25099 languageName: node linkType: hard @@ -2208,13 +2215,6 @@ __metadata: languageName: node linkType: hard -"@ungap/structured-clone@npm:^1.2.0": - version: 1.2.0 - resolution: "@ungap/structured-clone@npm:1.2.0" - checksum: 10c0/8209c937cb39119f44eb63cf90c0b73e7c754209a6411c707be08e50e29ee81356dca1a848a405c8bdeebfe2f5e4f831ad310ae1689eeef65e7445c090c6657d - languageName: node - linkType: hard - "@webassemblyjs/ast@npm:1.12.1, @webassemblyjs/ast@npm:^1.12.1": version: 1.12.1 resolution: "@webassemblyjs/ast@npm:1.12.1" @@ -2438,7 +2438,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.7.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": +"acorn@npm:^8.11.3, acorn@npm:^8.7.1, acorn@npm:^8.8.2": version: 8.11.3 resolution: "acorn@npm:8.11.3" bin: @@ -3322,15 +3322,6 @@ __metadata: languageName: node linkType: hard -"doctrine@npm:^3.0.0": - version: 3.0.0 - resolution: "doctrine@npm:3.0.0" - dependencies: - esutils: "npm:^2.0.2" - checksum: 10c0/c96bdccabe9d62ab6fea9399fdff04a66e6563c1d6fb3a3a063e8d53c3bb136ba63e84250bbf63d00086a769ad53aef92d2bd483f03f837fc97b71cbee6b2520 - languageName: node - linkType: hard - "dom-serializer@npm:^2.0.0": version: 2.0.0 resolution: "dom-serializer@npm:2.0.0" @@ -3501,6 +3492,13 @@ __metadata: languageName: node linkType: hard +"eslint-formatter-checkstyle@npm:8.40.0": + version: 8.40.0 + resolution: "eslint-formatter-checkstyle@npm:8.40.0" + checksum: 10c0/a1bcc39115633c6c20df6217785ebd4dcb7a535fcdbdfeaacbcb24ecb31ac8cc3fafa874398fd8f50114404b1d88720f08843763f4f90362ba93f70b2a0dada4 + languageName: node + linkType: hard + "eslint-scope@npm:5.1.1": version: 5.1.1 resolution: "eslint-scope@npm:5.1.1" @@ -3511,57 +3509,60 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.2": - version: 7.2.2 - resolution: "eslint-scope@npm:7.2.2" +"eslint-scope@npm:^8.0.1": + version: 8.0.1 + resolution: "eslint-scope@npm:8.0.1" dependencies: esrecurse: "npm:^4.3.0" estraverse: "npm:^5.2.0" - checksum: 10c0/613c267aea34b5a6d6c00514e8545ef1f1433108097e857225fed40d397dd6b1809dffd11c2fde23b37ca53d7bf935fe04d2a18e6fc932b31837b6ad67e1c116 + checksum: 10c0/0ec40ab284e58ac7ef064ecd23c127e03d339fa57173c96852336c73afc70ce5631da21dc1c772415a37a421291845538dd69db83c68d611044c0fde1d1fa269 languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": +"eslint-visitor-keys@npm:^3.3.0": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 10c0/92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820 languageName: node linkType: hard -"eslint@npm:8.57.0": - version: 8.57.0 - resolution: "eslint@npm:8.57.0" +"eslint-visitor-keys@npm:^4.0.0": + version: 4.0.0 + resolution: "eslint-visitor-keys@npm:4.0.0" + checksum: 10c0/76619f42cf162705a1515a6868e6fc7567e185c7063a05621a8ac4c3b850d022661262c21d9f1fc1d144ecf0d5d64d70a3f43c15c3fc969a61ace0fb25698cf5 + languageName: node + linkType: hard + +"eslint@npm:9.1.1": + version: 9.1.1 + resolution: "eslint@npm:9.1.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.6.1" - "@eslint/eslintrc": "npm:^2.1.4" - "@eslint/js": "npm:8.57.0" - "@humanwhocodes/config-array": "npm:^0.11.14" + "@eslint/eslintrc": "npm:^3.0.2" + "@eslint/js": "npm:9.1.1" + "@humanwhocodes/config-array": "npm:^0.13.0" "@humanwhocodes/module-importer": "npm:^1.0.1" + "@humanwhocodes/retry": "npm:^0.2.3" "@nodelib/fs.walk": "npm:^1.2.8" - "@ungap/structured-clone": "npm:^1.2.0" ajv: "npm:^6.12.4" chalk: "npm:^4.0.0" cross-spawn: "npm:^7.0.2" debug: "npm:^4.3.2" - doctrine: "npm:^3.0.0" escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^7.2.2" - eslint-visitor-keys: "npm:^3.4.3" - espree: "npm:^9.6.1" + eslint-scope: "npm:^8.0.1" + eslint-visitor-keys: "npm:^4.0.0" + espree: "npm:^10.0.1" esquery: "npm:^1.4.2" esutils: "npm:^2.0.2" fast-deep-equal: "npm:^3.1.3" - file-entry-cache: "npm:^6.0.1" + file-entry-cache: "npm:^8.0.0" find-up: "npm:^5.0.0" glob-parent: "npm:^6.0.2" - globals: "npm:^13.19.0" - graphemer: "npm:^1.4.0" ignore: "npm:^5.2.0" imurmurhash: "npm:^0.1.4" is-glob: "npm:^4.0.0" is-path-inside: "npm:^3.0.3" - js-yaml: "npm:^4.1.0" json-stable-stringify-without-jsonify: "npm:^1.0.1" levn: "npm:^0.4.1" lodash.merge: "npm:^4.6.2" @@ -3572,18 +3573,18 @@ __metadata: text-table: "npm:^0.2.0" bin: eslint: bin/eslint.js - checksum: 10c0/00bb96fd2471039a312435a6776fe1fd557c056755eaa2b96093ef3a8508c92c8775d5f754768be6b1dddd09fdd3379ddb231eeb9b6c579ee17ea7d68000a529 + checksum: 10c0/0173fbc561d2272802315726283f63df0cf7197949ca1f80afd8ef92e95867677d54601ff6cad5467c44745160ba0f9cef7ac1154ccbd097d0269a4c6eb21041 languageName: node linkType: hard -"espree@npm:^9.6.0, espree@npm:^9.6.1": - version: 9.6.1 - resolution: "espree@npm:9.6.1" +"espree@npm:^10.0.1": + version: 10.0.1 + resolution: "espree@npm:10.0.1" dependencies: - acorn: "npm:^8.9.0" + acorn: "npm:^8.11.3" acorn-jsx: "npm:^5.3.2" - eslint-visitor-keys: "npm:^3.4.1" - checksum: 10c0/1a2e9b4699b715347f62330bcc76aee224390c28bb02b31a3752e9d07549c473f5f986720483c6469cf3cfb3c9d05df612ffc69eb1ee94b54b739e67de9bb460 + eslint-visitor-keys: "npm:^4.0.0" + checksum: 10c0/7c0f84afa0f9db7bb899619e6364ed832ef13fe8943691757ddde9a1805ae68b826ed66803323015f707a629a5507d0d290edda2276c25131fe0ad883b8b5636 languageName: node linkType: hard @@ -3707,15 +3708,6 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^6.0.1": - version: 6.0.1 - resolution: "file-entry-cache@npm:6.0.1" - dependencies: - flat-cache: "npm:^3.0.4" - checksum: 10c0/58473e8a82794d01b38e5e435f6feaf648e3f36fdb3a56e98f417f4efae71ad1c0d4ebd8a9a7c50c3ad085820a93fc7494ad721e0e4ebc1da3573f4e1c3c7cdd - languageName: node - linkType: hard - "file-entry-cache@npm:^8.0.0": version: 8.0.0 resolution: "file-entry-cache@npm:8.0.0" @@ -3774,17 +3766,6 @@ __metadata: languageName: node linkType: hard -"flat-cache@npm:^3.0.4": - version: 3.2.0 - resolution: "flat-cache@npm:3.2.0" - dependencies: - flatted: "npm:^3.2.9" - keyv: "npm:^4.5.3" - rimraf: "npm:^3.0.2" - checksum: 10c0/b76f611bd5f5d68f7ae632e3ae503e678d205cf97a17c6ab5b12f6ca61188b5f1f7464503efae6dc18683ed8f0b41460beb48ac4b9ac63fe6201296a91ba2f75 - languageName: node - linkType: hard - "flat-cache@npm:^4.0.0": version: 4.0.0 resolution: "flat-cache@npm:4.0.0" @@ -3975,6 +3956,13 @@ __metadata: languageName: node linkType: hard +"globals@npm:15.0.0": + version: 15.0.0 + resolution: "globals@npm:15.0.0" + checksum: 10c0/b93e356a7bd4562d73a9defa95a0ff5e8a0b7726a4e2af16bd8ad019e14cd21d85e0a27b46e7e270d34e25df0bc0f9473ca21b47266c406c0e40973956085777 + languageName: node + linkType: hard + "globals@npm:^11.1.0": version: 11.12.0 resolution: "globals@npm:11.12.0" @@ -3982,12 +3970,10 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0": - version: 13.24.0 - resolution: "globals@npm:13.24.0" - dependencies: - type-fest: "npm:^0.20.2" - checksum: 10c0/d3c11aeea898eb83d5ec7a99508600fbe8f83d2cf00cbb77f873dbf2bcb39428eff1b538e4915c993d8a3b3473fa71eeebfe22c9bb3a3003d1e26b1f2c8a42cd +"globals@npm:^14.0.0": + version: 14.0.0 + resolution: "globals@npm:14.0.0" + checksum: 10c0/b96ff42620c9231ad468d4c58ff42afee7777ee1c963013ff8aabe095a451d0ceeb8dcd8ef4cbd64d2538cef45f787a78ba3a9574f4a634438963e334471302d languageName: node linkType: hard @@ -4032,13 +4018,6 @@ __metadata: languageName: node linkType: hard -"graphemer@npm:^1.4.0": - version: 1.4.0 - resolution: "graphemer@npm:1.4.0" - checksum: 10c0/e951259d8cd2e0d196c72ec711add7115d42eb9a8146c8eeda5b8d3ac91e5dd816b9cd68920726d9fd4490368e7ed86e9c423f40db87e2d8dfafa00fa17c3a31 - languageName: node - linkType: hard - "handlebars-loader@npm:1.7.3": version: 1.7.3 resolution: "handlebars-loader@npm:1.7.3" @@ -4392,12 +4371,15 @@ __metadata: "@babel/cli": "npm:7.24.1" "@babel/core": "npm:7.24.4" "@babel/preset-env": "npm:7.24.4" + "@eslint/js": "npm:9.1.1" babel-loader: "npm:9.1.3" clean-webpack-plugin: "npm:4.0.0" css-loader: "npm:7.1.1" css-minimizer-webpack-plugin: "npm:6.0.0" - eslint: "npm:8.57.0" + eslint: "npm:9.1.1" eslint-config-prettier: "npm:9.1.0" + eslint-formatter-checkstyle: "npm:8.40.0" + globals: "npm:15.0.0" handlebars: "npm:4.7.8" handlebars-loader: "npm:1.7.3" hotkeys-js: "npm:3.12.2" @@ -4580,7 +4562,7 @@ __metadata: languageName: node linkType: hard -"keyv@npm:^4.5.3, keyv@npm:^4.5.4": +"keyv@npm:^4.5.4": version: 4.5.4 resolution: "keyv@npm:4.5.4" dependencies: @@ -6306,17 +6288,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^3.0.2": - version: 3.0.2 - resolution: "rimraf@npm:3.0.2" - dependencies: - glob: "npm:^7.1.3" - bin: - rimraf: bin.js - checksum: 10c0/9cb7757acb489bd83757ba1a274ab545eafd75598a9d817e0c3f8b164238dd90eba50d6b848bd4dcc5f3040912e882dc7ba71653e35af660d77b25c381d402e8 - languageName: node - linkType: hard - "rimraf@npm:^5.0.5": version: 5.0.5 resolution: "rimraf@npm:5.0.5" @@ -6911,13 +6882,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.20.2": - version: 0.20.2 - resolution: "type-fest@npm:0.20.2" - checksum: 10c0/dea9df45ea1f0aaa4e2d3bed3f9a0bfe9e5b2592bddb92eb1bf06e50bcf98dbb78189668cd8bc31a0511d3fc25539b4cd5c704497e53e93e2d40ca764b10bfc3 - languageName: node - linkType: hard - "uglify-js@npm:^3.1.4": version: 3.17.4 resolution: "uglify-js@npm:3.17.4"