From 6583c6ac40edd63bb101a082f63c5c7dfdca317a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlio=20Zynger?= Date: Mon, 11 Oct 2021 12:35:44 +0200 Subject: [PATCH] Make prettier happy when generating plugins I've noticed that creating a plugin and immediately running `prettier check` causes failures due to the missing semicolon in this file. Signed-off-by: Julio Zynger --- .changeset/olive-mayflies-scream.md | 5 +++++ packages/cli/templates/default-plugin/src/setupTests.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/olive-mayflies-scream.md diff --git a/.changeset/olive-mayflies-scream.md b/.changeset/olive-mayflies-scream.md new file mode 100644 index 0000000000..7c96f00334 --- /dev/null +++ b/.changeset/olive-mayflies-scream.md @@ -0,0 +1,5 @@ +--- +'@backstage/cli': patch +--- + +Add semicolon in template to make prettier happy diff --git a/packages/cli/templates/default-plugin/src/setupTests.ts b/packages/cli/templates/default-plugin/src/setupTests.ts index 292b0cc471..48c09b5346 100644 --- a/packages/cli/templates/default-plugin/src/setupTests.ts +++ b/packages/cli/templates/default-plugin/src/setupTests.ts @@ -1,2 +1,2 @@ import '@testing-library/jest-dom'; -import 'cross-fetch/polyfill' +import 'cross-fetch/polyfill';