From a66b5026fecd154676479b7457f83330430c7779 Mon Sep 17 00:00:00 2001 From: courier-new Date: Tue, 16 Nov 2021 14:04:19 -0700 Subject: [PATCH] Bump eslint config --- package.json | 2 +- yarn.lock | 21 +++++++++++++++++---- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index da2a8e3508e3..e11aa7ac7a5d 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "@pollyjs/core": "^5.1.0", "@pollyjs/persister-fs": "^5.0.0", "@slack/web-api": "^5.10.0", - "@sourcegraph/eslint-config": "^0.25.1", + "@sourcegraph/eslint-config": "^0.26.0", "@sourcegraph/eslint-plugin-sourcegraph": "1.0.0", "@sourcegraph/prettierrc": "^3.0.3", "@sourcegraph/stylelint-config": "^1.3.0", diff --git a/yarn.lock b/yarn.lock index 8667eee666fe..64b5e8af6bcf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3427,10 +3427,10 @@ sourcegraph "^24.0.0 || ^25.0.0 || ^25.0.0" ts-key-enum "^2.0.0" -"@sourcegraph/eslint-config@^0.25.1": - version "0.25.1" - resolved "https://registry.npmjs.org/@sourcegraph/eslint-config/-/eslint-config-0.25.1.tgz#e6cf1f79cf64d9e3e231aa8160160514b30da98b" - integrity sha512-Txu1ejqe5zGOp28JrfhTy0TutxJGvXr6GdM79K9YAfusq/Eq6mz3p1kfY43byqkzr5aNnXI0xgK8oEcPxLjdaQ== +"@sourcegraph/eslint-config@^0.26.0": + version "0.26.0" + resolved "https://registry.npmjs.org/@sourcegraph/eslint-config/-/eslint-config-0.26.0.tgz#73371fe4019d9311ec7fa422e70d92129d57c2bf" + integrity sha512-mjNeGOtzJwsrMr0r+RxS/HA7sZdyZiQfW+t3mE686fwYPINRBeUDeK51tYfAPzzAYtlGA0ENTJsxrUYJfdLpNw== dependencies: "@sourcegraph/prettierrc" "^3.0.3" "@typescript-eslint/eslint-plugin" "^4.28.3" @@ -3446,6 +3446,7 @@ eslint-plugin-react-hooks "^4.2.0" eslint-plugin-rxjs "^2.1.5" eslint-plugin-unicorn "^21.0.0" + eslint-plugin-unused-imports "^1.1.5" "@sourcegraph/event-positions@^1.0.4": version "1.0.4" @@ -10902,6 +10903,18 @@ eslint-plugin-unicorn@^21.0.0: safe-regex "^2.1.1" semver "^7.3.2" +eslint-plugin-unused-imports@^1.1.5: + version "1.1.5" + resolved "https://registry.npmjs.org/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-1.1.5.tgz#a2b992ef0faf6c6c75c3815cc47bde76739513c2" + integrity sha512-TeV8l8zkLQrq9LBeYFCQmYVIXMjfHgdRQLw7dEZp4ZB3PeR10Y5Uif11heCsHRmhdRIYMoewr1d9ouUHLbLHew== + dependencies: + eslint-rule-composer "^0.3.0" + +eslint-rule-composer@^0.3.0: + version "0.3.0" + resolved "https://registry.npmjs.org/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9" + integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg== + eslint-scope@5.1.1, eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"