From c18fda7460fb3866cd9f94c7eb9f92a85e2cfa69 Mon Sep 17 00:00:00 2001 From: yeraydavidrodriguez Date: Fri, 11 Mar 2022 08:07:28 +0000 Subject: [PATCH] Simplify linting target specification --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1e6b1ee..777c1d9 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "build": "tsc", "format": "prettier --write '**/*.ts'", "format-check": "prettier --check '**/*.ts'", - "lint": "eslint --fix **src/*.ts; eslint --fix **src/**/*.ts; eslint --fix __tests__/**/*.ts", - "lint-check": "eslint **src/*.ts; eslint **src/**/*.ts; eslint __tests__/**/*.ts", + "lint": "eslint --fix '@(src|__tests__)/**/*.ts'", + "lint-check": "eslint '@(src|__tests__)/**/*.ts'", "package": "ncc build --source-map --license licenses.txt", "test": "yarn build && jest --coverage", "test-unit": "jest --coverage --testPathPattern __tests__/unit/[a-z-]+.test.ts",