From 78c57db28dd3c1786c994f7df0b6eb34a9df3a7c Mon Sep 17 00:00:00 2001 From: Bastian Krol Date: Tue, 14 Nov 2023 12:22:34 +0100 Subject: [PATCH] build: pass directories to eslint instead of globs --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 319a2dc78..3b11d8ff5 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test:unit:watch": "jest --watch test/unit/* test/server/*", "test:e2e:local": "IS_TEST=true protractor protractor.local.config.js", "test:e2e:saucelabs": "IS_TEST=true protractor protractor.saucelabs.config.js", - "test:lint": "eslint lib/**/*.js test/**/*.js", + "test:lint": "eslint lib/ test/ *.js", "test:flow": "flow; FLOW_RESULT=$?; flow stop; test $FLOW_RESULT -eq 0 -o $? -eq 2", "webdriver:start": "webdriver-manager update && webdriver-manager start", "devServer": "BEACON_SERVER_PORTS='3009,3010,3011' node test/server/server",