From 0cba4f8b1dc7ecae1e1994c55fdeca1706864de6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Jun 2023 15:47:10 -0400 Subject: [PATCH] Bump eslint from 8.42.0 to 8.43.0 (#550) * Bump eslint from 8.42.0 to 8.43.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.42.0 to 8.43.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.42.0...v8.43.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Fix eslint errors --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: elisa lee --- .eslintrc.yml | 3 +++ assets/js/sr-touchpoints.js | 2 +- package.json | 2 +- yarn.lock | 18 +++++++++--------- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index ca37aacb..a7743c0d 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -9,11 +9,14 @@ parserOptions: ecmaVersion: 11 ignorePatterns: - uswds.min.js + - uswds-init*.js - gtm.js + - main.js - uswds.js - jquery3.5.1.min.js - url-search-param-polyfil.js - anchor.min.js + - touchpoints.js rules: {} plugins: - frontmatter diff --git a/assets/js/sr-touchpoints.js b/assets/js/sr-touchpoints.js index 95d9bbb5..b3c330e4 100644 --- a/assets/js/sr-touchpoints.js +++ b/assets/js/sr-touchpoints.js @@ -57,7 +57,7 @@ function initCustomTouchpointsJS() { function attachModalToggleListener() { const touchpointsModalButton = document.querySelector(TOUCHPOINTS_BUTTON_ID); - touchpointsModalButton.addEventListener("click", function (e) { + touchpointsModalButton.addEventListener("click", function () { const modal = document.querySelector(TOUCHPOINTS_MODAL_CLASS); if (modal !== null && window.getComputedStyle(modal).display === "block") { attachTabEventListener(modal); diff --git a/package.json b/package.json index af95ef5f..5ac49016 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "chromedriver": "^113.0.0", "dayjs": "^1.11.8", "del": "^6.0.0", - "eslint": "^8.42.0", + "eslint": "^8.43.0", "eslint-plugin-frontmatter": "0.0.8", "faker": "^6.6.6", "geckodriver": "^4.0.4", diff --git a/yarn.lock b/yarn.lock index bb37c024..facf39e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -48,10 +48,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.42.0": - version "8.42.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.42.0.tgz#484a1d638de2911e6f5a30c12f49c7e4a3270fb6" - integrity sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw== +"@eslint/js@8.43.0": + version "8.43.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.43.0.tgz#559ca3d9ddbd6bf907ad524320a0d14b85586af0" + integrity sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg== "@gulp-sourcemaps/identity-map@^2.0.1": version "2.0.1" @@ -2246,15 +2246,15 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== -eslint@^8.42.0: - version "8.42.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.42.0.tgz#7bebdc3a55f9ed7167251fe7259f75219cade291" - integrity sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A== +eslint@^8.43.0: + version "8.43.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.43.0.tgz#3e8c6066a57097adfd9d390b8fc93075f257a094" + integrity sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.4.0" "@eslint/eslintrc" "^2.0.3" - "@eslint/js" "8.42.0" + "@eslint/js" "8.43.0" "@humanwhocodes/config-array" "^0.11.10" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8"