From 7d5a4f61a3619faca0454fded2c9dadd4765a4b5 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Mon, 13 May 2024 08:25:25 -0400 Subject: [PATCH] fix(biome): noUselessTernary Signed-off-by: Adam Setch --- biome.json | 1 - utils.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/biome.json b/biome.json index 84da4967f..2c0f54424 100644 --- a/biome.json +++ b/biome.json @@ -10,7 +10,6 @@ "recommended": true, "complexity": { "noForEach": "off", - "noUselessTernary": "off", "useLiteralKeys": "off" }, "performance": { diff --git a/utils.js b/utils.js index 99df3bfc1..bd6ac9b94 100644 --- a/utils.js +++ b/utils.js @@ -261,7 +261,7 @@ export function getAllFilesWithIgnore(dirPath, pattern, ignoreList) { absolute: true, nocase: true, nodir: true, - dot: pattern.startsWith(".") ? true : false, + dot: pattern.startsWith("."), follow: false, ignore: ignoreList, });