From 51c0fc0ebcc9005a5c8e044e24582eb1535af630 Mon Sep 17 00:00:00 2001 From: Liv Dywan Date: Tue, 2 Apr 2024 16:30:56 +0200 Subject: [PATCH] Update eslint-plugin-prettier to 5.0.0 --- assets/javascripts/tests.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/tests.js b/assets/javascripts/tests.js index 3c71441a708..41a00251faf 100644 --- a/assets/javascripts/tests.js +++ b/assets/javascripts/tests.js @@ -124,8 +124,8 @@ function renderTimeAgo(data, type, row, position, notAvailableMessage) { return haveData ? '' + jQuery.timeago(data) + '' : notAvailableMessage - ? notAvailableMessage - : 'not yet'; + ? notAvailableMessage + : 'not yet'; } return haveData ? data : 'Z-9999-12-31'; } diff --git a/package.json b/package.json index 832abbc4b4a..3454977bf2c 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "devDependencies": { "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.0.0", "prettier": "3.2.5" }, "dependencies": {