From 0e69ebf11fa83cc85c3592d05030a3e62bd88e02 Mon Sep 17 00:00:00 2001 From: Mavis Ou Date: Fri, 22 Mar 2024 11:38:33 -0700 Subject: [PATCH] adjust linting rules --- .eslintrc.json | 2 +- source/js/buyers-guide/search/utils.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 815a1e9d961..a8448a57698 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,7 +14,7 @@ "prettier/prettier": [ "error", { - "comma-dangle": "never", + "trailingComma": "es5", "endOfLine": "auto" } ], diff --git a/source/js/buyers-guide/search/utils.js b/source/js/buyers-guide/search/utils.js index 1fb32af50e0..8540ca352f6 100644 --- a/source/js/buyers-guide/search/utils.js +++ b/source/js/buyers-guide/search/utils.js @@ -301,8 +301,8 @@ export class Utils { return propertyNameA < propertyNameB ? -1 : propertyNameA > propertyNameB - ? 1 - : 0; + ? 1 + : 0; } } });