From c2bf99531a4f8da93e4afd05fc83005c326b10f0 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sun, 2 Jun 2024 13:42:16 +0530 Subject: [PATCH] eslint . is now the default > If you are using a flat configuration file (eslint.config.js), you can also > omit the file arguments and ESLint will use . > > https://eslint.org/docs/latest/use/command-line-interface --- desktop/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/package.json b/desktop/package.json index f786f24675..182390ba55 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -17,8 +17,8 @@ "dev-main": "tsc && electron .", "dev-renderer": "cd ../web && yarn install && yarn dev:photos", "postinstall": "electron-builder install-app-deps", - "lint": "yarn prettier --check --log-level warn . && eslint --ext .ts src && yarn tsc", - "lint-fix": "yarn prettier --write --log-level warn . && eslint --fix --ext .ts src && yarn tsc" + "lint": "yarn prettier --check --log-level warn . && yarn eslint && yarn tsc", + "lint-fix": "yarn prettier --write --log-level warn . && yarn eslint && yarn tsc" }, "resolutions": { "jackspeak": "2.1.1"