From d5be02dac549f3aae61c442c381643a854eb5fde Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Sun, 6 Mar 2022 18:15:15 +0100 Subject: [PATCH] DEV: Bump eslint-config-discourse (#16109) --- .../javascripts/discourse/tests/helpers/component-test.js | 1 + .../javascripts/wizard/test/helpers/component-test.js | 1 + package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/assets/javascripts/discourse/tests/helpers/component-test.js b/app/assets/javascripts/discourse/tests/helpers/component-test.js index 30b1adc67eb..727b002a773 100644 --- a/app/assets/javascripts/discourse/tests/helpers/component-test.js +++ b/app/assets/javascripts/discourse/tests/helpers/component-test.js @@ -1,3 +1,4 @@ +/* eslint-disable no-undef */ import { TestModuleForComponent, render } from "@ember/test-helpers"; import MessageBus from "message-bus-client"; import EmberObject from "@ember/object"; diff --git a/app/assets/javascripts/wizard/test/helpers/component-test.js b/app/assets/javascripts/wizard/test/helpers/component-test.js index 2039321af5b..e7d5f7c2288 100644 --- a/app/assets/javascripts/wizard/test/helpers/component-test.js +++ b/app/assets/javascripts/wizard/test/helpers/component-test.js @@ -1,3 +1,4 @@ +/* eslint-disable no-undef */ import initializer from "wizard/initializers/load-helpers"; import { test } from "qunit"; diff --git a/package.json b/package.json index 5eb37c0c929..6a739119a29 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "chart.js": "3.5.1", "chartjs-plugin-datalabels": "^2.0.0", "diffhtml": "^1.0.0-beta.20", - "eslint-config-discourse": "^1.1.9", + "eslint-config-discourse": "^2.0.0", "handlebars": "^4.7.7", "jquery": "3.5.1", "magnific-popup": "1.1.0", diff --git a/yarn.lock b/yarn.lock index 9951dbce9f9..a607c3c79e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1488,10 +1488,10 @@ escape-string-regexp@^4.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -eslint-config-discourse@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/eslint-config-discourse/-/eslint-config-discourse-1.1.9.tgz#9a5ee6b3a4b986e5243f517e7945d1709c4e22df" - integrity sha512-a4KG+/9/7ZhYVV0URGK70K7QtxlydYKjie0ZssHEGxl2auOUTDcdRMBfZQBtIxQr9X8TF0+eeUUsScBXNU6xZw== +eslint-config-discourse@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/eslint-config-discourse/-/eslint-config-discourse-2.0.0.tgz#811ab2cf4e32c1f0d41bd57d9736d578fe80b741" + integrity sha512-enjsLU++iibJXM64YM6Y/yUM5580wKtkti9fQdrJDFkfLJnvv8/f2j7QmNbX//MoqWfIQfY2RkHH6VTfRUg4Mw== dependencies: babel-eslint "^10.1.0" ember-template-lint "^2.11.0"