From 2d1d6386546393b9100b405da7f1603ece435a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Tue, 22 Aug 2023 13:42:05 +0200 Subject: [PATCH] ci: Remove `--report-unused-disable-directives` to speed up CI (#6988) https://n8nio.slack.com/archives/C03MZF137FV/p1692610341832309 --- packages/@n8n/client-oauth2/package.json | 4 ++-- packages/cli/package.json | 4 ++-- packages/core/package.json | 4 ++-- packages/design-system/package.json | 4 ++-- packages/editor-ui/package.json | 4 ++-- packages/node-dev/package.json | 4 ++-- packages/nodes-base/package.json | 4 ++-- packages/workflow/package.json | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/@n8n/client-oauth2/package.json b/packages/@n8n/client-oauth2/package.json index d9d9e2f71f..81e677a87c 100644 --- a/packages/@n8n/client-oauth2/package.json +++ b/packages/@n8n/client-oauth2/package.json @@ -7,8 +7,8 @@ "typecheck": "tsc", "build": "tsc -p tsconfig.build.json", "format": "prettier --write . --ignore-path ../../../.prettierignore", - "lint": "eslint . --quiet --report-unused-disable-directives", - "lintfix": "eslint . --fix --report-unused-disable-directives", + "lint": "eslint . --quiet", + "lintfix": "eslint . --fix", "watch": "tsc -p tsconfig.build.json --watch", "test": "jest", "test:dev": "jest --watch" diff --git a/packages/cli/package.json b/packages/cli/package.json index fc12bdb21e..ed35fd81ea 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -27,8 +27,8 @@ "dev:worker": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon worker\"", "dev:webhook": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon webhook\"", "format": "prettier --write . --ignore-path ../../.prettierignore", - "lint": "eslint . --quiet --report-unused-disable-directives", - "lintfix": "eslint . --fix --report-unused-disable-directives", + "lint": "eslint . --quiet", + "lintfix": "eslint . --fix", "postpack": "rm -f oclif.manifest.json", "prepack": "oclif-dev manifest", "start": "run-script-os", diff --git a/packages/core/package.json b/packages/core/package.json index 053788c8a5..3749bc045a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -24,8 +24,8 @@ "build": "tsc -p tsconfig.build.json", "dev": "pnpm watch", "format": "prettier --write . --ignore-path ../../.prettierignore", - "lint": "eslint . --quiet --report-unused-disable-directives", - "lintfix": "eslint . --fix --report-unused-disable-directives", + "lint": "eslint . --quiet", + "lintfix": "eslint . --fix", "watch": "tsc -p tsconfig.build.json --watch", "test": "jest" }, diff --git a/packages/design-system/package.json b/packages/design-system/package.json index e36d1f49ab..648874a52f 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -22,8 +22,8 @@ "build:storybook": "storybook build", "storybook": "storybook dev -p 6006", "format": "prettier --write . --ignore-path ../../.prettierignore", - "lint": "eslint src --ext .js,.ts,.vue --quiet --report-unused-disable-directives", - "lintfix": "eslint src --ext .js,.ts,.vue --fix --report-unused-disable-directives" + "lint": "eslint src --ext .js,.ts,.vue --quiet", + "lintfix": "eslint src --ext .js,.ts,.vue --fix" }, "peerDependencies": { "@fortawesome/fontawesome-svg-core": "1.x", diff --git a/packages/editor-ui/package.json b/packages/editor-ui/package.json index a2b0acde00..9a88a26bec 100644 --- a/packages/editor-ui/package.json +++ b/packages/editor-ui/package.json @@ -18,8 +18,8 @@ "build": "cross-env VUE_APP_PUBLIC_PATH=\"/{{BASE_PATH}}/\" NODE_OPTIONS=\"--max-old-space-size=8192\" vite build", "typecheck": "vue-tsc --emitDeclarationOnly", "dev": "pnpm serve", - "lint": "eslint src --ext .js,.ts,.vue --quiet --report-unused-disable-directives", - "lintfix": "eslint src --ext .js,.ts,.vue --fix --report-unused-disable-directives", + "lint": "eslint src --ext .js,.ts,.vue --quiet", + "lintfix": "eslint src --ext .js,.ts,.vue --fix", "format": "prettier --write . --ignore-path ../../.prettierignore", "serve": "cross-env VUE_APP_URL_BASE_API=http://localhost:5678/ vite --host 0.0.0.0 --port 8080 dev", "test": "vitest run --coverage", diff --git a/packages/node-dev/package.json b/packages/node-dev/package.json index aff14414f3..a20cde549a 100644 --- a/packages/node-dev/package.json +++ b/packages/node-dev/package.json @@ -24,8 +24,8 @@ "build": "tsc --noEmit", "build-node-dev": "tsc", "format": "prettier --write . --ignore-path ../../.prettierignore", - "lint": "eslint . --quiet --report-unused-disable-directives", - "lintfix": "eslint . --fix --report-unused-disable-directives", + "lint": "eslint . --quiet", + "lintfix": "eslint . --fix", "postpack": "rm -f oclif.manifest.json", "prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest", "watch": "tsc --watch" diff --git a/packages/nodes-base/package.json b/packages/nodes-base/package.json index 53d2951c50..cc5d1b3eeb 100644 --- a/packages/nodes-base/package.json +++ b/packages/nodes-base/package.json @@ -21,8 +21,8 @@ "build:translations": "gulp build:translations", "build:metadata": "pnpm n8n-generate-known && pnpm n8n-generate-ui-types", "format": "prettier --write . --ignore-path ../../.prettierignore", - "lint": "eslint . --quiet --report-unused-disable-directives && node ./scripts/validate-load-options-methods.js", - "lintfix": "eslint . --fix --report-unused-disable-directives", + "lint": "eslint . --quiet && node ./scripts/validate-load-options-methods.js", + "lintfix": "eslint . --fix", "watch": "tsc-watch -p tsconfig.build.json --onCompilationComplete \"tsc-alias -p tsconfig.build.json\" --onSuccess \"pnpm n8n-generate-ui-types\"", "test": "jest" }, diff --git a/packages/workflow/package.json b/packages/workflow/package.json index 0b5da9ce35..84e9052f00 100644 --- a/packages/workflow/package.json +++ b/packages/workflow/package.json @@ -29,8 +29,8 @@ "typecheck": "tsc", "build": "tsc -p tsconfig.build.json", "format": "prettier --write . --ignore-path ../../.prettierignore", - "lint": "eslint . --quiet --report-unused-disable-directives", - "lintfix": "eslint . --fix --report-unused-disable-directives", + "lint": "eslint . --quiet", + "lintfix": "eslint . --fix", "watch": "tsc -p tsconfig.build.json --watch", "test": "jest", "test:dev": "jest --watch"