From ef2de93e77a4ebcd868842ce202e1c9f480af2e1 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Tue, 11 Feb 2025 01:03:15 -0800 Subject: [PATCH] ci: fix ignore patterns for eslint [skip test] --- package.json | 4 ++-- packages/ci-log/package.json | 2 +- packages/envosman/package.json | 2 +- packages/exec-powershell/package.json | 2 +- packages/setup-apt/package.json | 2 +- packages/setup-brew/package.json | 2 +- packages/untildify-user/package.json | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 09306217..f0f55417 100644 --- a/package.json +++ b/package.json @@ -48,12 +48,12 @@ "lint.biome": "biome check --write --unsafe", "lint.dprint": "dprint fmt", "lint.root.tsc": "tsc --noEmit --pretty", - "lint.root.eslint": "eslint ./{src,dev}/**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", + "lint.root.eslint": "eslint './{src,dev}/**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", "pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./dev/scripts/pack-exe.mjs", "publish.all": "pnpm -r publish && pnpm publish", "prepublishOnly": "run-s build && shx rm ./dist/tsconfig.tsbuildinfo", "test.lint": "run-p --aggregate-output --continue-on-error test.lint.** lint.cspell lint.root.tsc", - "test.lint.root.eslint": "eslint ./{src,dev}/**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/", + "test.lint.root.eslint": "eslint './{src,dev}/**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/", "test.lint.biome": "biome check", "test.lint.dprint": "dprint check", "test": "turbo test && jest --runInBand --forceExit --coverage", diff --git a/packages/ci-log/package.json b/packages/ci-log/package.json index 795e7236..2cf7049f 100644 --- a/packages/ci-log/package.json +++ b/packages/ci-log/package.json @@ -13,7 +13,7 @@ "build": "tsc --pretty", "dev": "tsc --watch --pretty", "lint.tsc": "tsc --noEmit --pretty", - "lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", + "lint.eslint": "eslint '**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", "prepublishOnly": "pnpm run build" }, "dependencies": { diff --git a/packages/envosman/package.json b/packages/envosman/package.json index 8761b327..8287d49a 100644 --- a/packages/envosman/package.json +++ b/packages/envosman/package.json @@ -13,7 +13,7 @@ "build": "tsc --pretty", "dev": "tsc --watch --pretty", "lint.tsc": "tsc --noEmit --pretty", - "lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", + "lint.eslint": "eslint '**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", "prepublishOnly": "pnpm run build" }, "dependencies": { diff --git a/packages/exec-powershell/package.json b/packages/exec-powershell/package.json index 61178655..7c03dcdf 100644 --- a/packages/exec-powershell/package.json +++ b/packages/exec-powershell/package.json @@ -13,7 +13,7 @@ "build": "tsc --pretty", "dev": "tsc --watch --pretty", "lint.tsc": "tsc --noEmit --pretty", - "lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", + "lint.eslint": "eslint '**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", "prepublishOnly": "pnpm run build" }, "dependencies": { diff --git a/packages/setup-apt/package.json b/packages/setup-apt/package.json index 76d56211..5e81c15c 100644 --- a/packages/setup-apt/package.json +++ b/packages/setup-apt/package.json @@ -18,7 +18,7 @@ "build": "tsc --pretty", "dev": "tsc --watch --pretty", "lint.tsc": "tsc --noEmit --pretty", - "lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", + "lint.eslint": "eslint '**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", "prepublishOnly": "pnpm run build" }, "dependencies": { diff --git a/packages/setup-brew/package.json b/packages/setup-brew/package.json index 9de5888e..53fb62d9 100644 --- a/packages/setup-brew/package.json +++ b/packages/setup-brew/package.json @@ -18,7 +18,7 @@ "build": "tsc --pretty", "dev": "tsc --watch --pretty", "lint.tsc": "tsc --noEmit --pretty", - "lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", + "lint.eslint": "eslint '**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", "prepublishOnly": "pnpm run build", "test": "jest --coverage" }, diff --git a/packages/untildify-user/package.json b/packages/untildify-user/package.json index f341ced2..ec37cf1d 100644 --- a/packages/untildify-user/package.json +++ b/packages/untildify-user/package.json @@ -13,7 +13,7 @@ "build": "tsc --pretty", "dev": "tsc --watch --pretty", "lint.tsc": "tsc --noEmit --pretty", - "lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", + "lint.eslint": "eslint '**/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml}' --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", "prepublishOnly": "pnpm run build" }, "dependencies": {