From f046c6cfdfef225993fd5c59740dbcd68cda9306 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Thu, 31 Oct 2024 11:33:30 +0300 Subject: [PATCH] Add suggestions from the code review --- automations/js/src/project_thread_updates.js | 3 +-- frontend/tailwind.config.ts | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/automations/js/src/project_thread_updates.js b/automations/js/src/project_thread_updates.js index df56d5db904..35d75d894ba 100644 --- a/automations/js/src/project_thread_updates.js +++ b/automations/js/src/project_thread_updates.js @@ -61,8 +61,7 @@ const GET_PROJECT_CARDS = ` */ module.exports = async ({ github, core }) => { try { - // eslint-disable-next-line no-constant-binary-expression - const isDryRun = process.env.DRY_RUN === "true" ?? false + const isDryRun = process.env.DRY_RUN === "true" const currentDate = new Date() // Create a date by subtracting DAYS_UPDATED_WITHIN days diff --git a/frontend/tailwind.config.ts b/frontend/tailwind.config.ts index 3a8340f39e5..b34a299e633 100644 --- a/frontend/tailwind.config.ts +++ b/frontend/tailwind.config.ts @@ -1,3 +1,4 @@ +import tailwindcssTypography from "@tailwindcss/typography" import defaultTheme from "tailwindcss/defaultTheme" import plugin from "tailwindcss/plugin" @@ -343,7 +344,7 @@ export default { }, }, plugins: [ - require("@tailwindcss/typography"), // eslint-disable-line @typescript-eslint/no-require-imports + tailwindcssTypography, // Focus styles // This plugin has related stylesheets in `src/styles/tailwind.css`. plugin(({ matchUtilities, theme }) => {