From 0c5c85cbe4d7fad3efd9ae27cdf0c43fc5d49fe9 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Sun, 22 Aug 2021 21:16:19 +1000 Subject: [PATCH] refactor(web): eslint glob pattern (#2309) The current eslint glob pattern is not Windows friendly, this change works for both Linux and Windows. --- web/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/package.json b/web/package.json index 8310848fd..bdc6fb493 100644 --- a/web/package.json +++ b/web/package.json @@ -24,7 +24,7 @@ "scripts": { "start": "craco start", "build": "craco build", - "lint": "eslint '*/**/*.{js,ts,tsx}' --fix", + "lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix", "coverage": "COVERAGE=true craco build", "test": "craco test --coverage --no-cache", "report": "nyc report -r clover -r json -r lcov -r text",