ci: Remove --report-unused-disable-directives to speed up CI (#6988)

https://n8nio.slack.com/archives/C03MZF137FV/p1692610341832309
This commit is contained in:
Iván Ovejero 2023-08-22 13:42:05 +02:00 committed by GitHub
parent 2cfa6d344e
commit 2d1d638654
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 16 deletions

View file

@ -7,8 +7,8 @@
"typecheck": "tsc", "typecheck": "tsc",
"build": "tsc -p tsconfig.build.json", "build": "tsc -p tsconfig.build.json",
"format": "prettier --write . --ignore-path ../../../.prettierignore", "format": "prettier --write . --ignore-path ../../../.prettierignore",
"lint": "eslint . --quiet --report-unused-disable-directives", "lint": "eslint . --quiet",
"lintfix": "eslint . --fix --report-unused-disable-directives", "lintfix": "eslint . --fix",
"watch": "tsc -p tsconfig.build.json --watch", "watch": "tsc -p tsconfig.build.json --watch",
"test": "jest", "test": "jest",
"test:dev": "jest --watch" "test:dev": "jest --watch"

View file

@ -27,8 +27,8 @@
"dev:worker": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon worker\"", "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\"", "dev:webhook": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon webhook\"",
"format": "prettier --write . --ignore-path ../../.prettierignore", "format": "prettier --write . --ignore-path ../../.prettierignore",
"lint": "eslint . --quiet --report-unused-disable-directives", "lint": "eslint . --quiet",
"lintfix": "eslint . --fix --report-unused-disable-directives", "lintfix": "eslint . --fix",
"postpack": "rm -f oclif.manifest.json", "postpack": "rm -f oclif.manifest.json",
"prepack": "oclif-dev manifest", "prepack": "oclif-dev manifest",
"start": "run-script-os", "start": "run-script-os",

View file

@ -24,8 +24,8 @@
"build": "tsc -p tsconfig.build.json", "build": "tsc -p tsconfig.build.json",
"dev": "pnpm watch", "dev": "pnpm watch",
"format": "prettier --write . --ignore-path ../../.prettierignore", "format": "prettier --write . --ignore-path ../../.prettierignore",
"lint": "eslint . --quiet --report-unused-disable-directives", "lint": "eslint . --quiet",
"lintfix": "eslint . --fix --report-unused-disable-directives", "lintfix": "eslint . --fix",
"watch": "tsc -p tsconfig.build.json --watch", "watch": "tsc -p tsconfig.build.json --watch",
"test": "jest" "test": "jest"
}, },

View file

@ -22,8 +22,8 @@
"build:storybook": "storybook build", "build:storybook": "storybook build",
"storybook": "storybook dev -p 6006", "storybook": "storybook dev -p 6006",
"format": "prettier --write . --ignore-path ../../.prettierignore", "format": "prettier --write . --ignore-path ../../.prettierignore",
"lint": "eslint src --ext .js,.ts,.vue --quiet --report-unused-disable-directives", "lint": "eslint src --ext .js,.ts,.vue --quiet",
"lintfix": "eslint src --ext .js,.ts,.vue --fix --report-unused-disable-directives" "lintfix": "eslint src --ext .js,.ts,.vue --fix"
}, },
"peerDependencies": { "peerDependencies": {
"@fortawesome/fontawesome-svg-core": "1.x", "@fortawesome/fontawesome-svg-core": "1.x",

View file

@ -18,8 +18,8 @@
"build": "cross-env VUE_APP_PUBLIC_PATH=\"/{{BASE_PATH}}/\" NODE_OPTIONS=\"--max-old-space-size=8192\" vite build", "build": "cross-env VUE_APP_PUBLIC_PATH=\"/{{BASE_PATH}}/\" NODE_OPTIONS=\"--max-old-space-size=8192\" vite build",
"typecheck": "vue-tsc --emitDeclarationOnly", "typecheck": "vue-tsc --emitDeclarationOnly",
"dev": "pnpm serve", "dev": "pnpm serve",
"lint": "eslint src --ext .js,.ts,.vue --quiet --report-unused-disable-directives", "lint": "eslint src --ext .js,.ts,.vue --quiet",
"lintfix": "eslint src --ext .js,.ts,.vue --fix --report-unused-disable-directives", "lintfix": "eslint src --ext .js,.ts,.vue --fix",
"format": "prettier --write . --ignore-path ../../.prettierignore", "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", "serve": "cross-env VUE_APP_URL_BASE_API=http://localhost:5678/ vite --host 0.0.0.0 --port 8080 dev",
"test": "vitest run --coverage", "test": "vitest run --coverage",

View file

@ -24,8 +24,8 @@
"build": "tsc --noEmit", "build": "tsc --noEmit",
"build-node-dev": "tsc", "build-node-dev": "tsc",
"format": "prettier --write . --ignore-path ../../.prettierignore", "format": "prettier --write . --ignore-path ../../.prettierignore",
"lint": "eslint . --quiet --report-unused-disable-directives", "lint": "eslint . --quiet",
"lintfix": "eslint . --fix --report-unused-disable-directives", "lintfix": "eslint . --fix",
"postpack": "rm -f oclif.manifest.json", "postpack": "rm -f oclif.manifest.json",
"prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest", "prepack": "echo \"Building project...\" && rm -rf dist && tsc -b && oclif-dev manifest",
"watch": "tsc --watch" "watch": "tsc --watch"

View file

@ -21,8 +21,8 @@
"build:translations": "gulp build:translations", "build:translations": "gulp build:translations",
"build:metadata": "pnpm n8n-generate-known && pnpm n8n-generate-ui-types", "build:metadata": "pnpm n8n-generate-known && pnpm n8n-generate-ui-types",
"format": "prettier --write . --ignore-path ../../.prettierignore", "format": "prettier --write . --ignore-path ../../.prettierignore",
"lint": "eslint . --quiet --report-unused-disable-directives && node ./scripts/validate-load-options-methods.js", "lint": "eslint . --quiet && node ./scripts/validate-load-options-methods.js",
"lintfix": "eslint . --fix --report-unused-disable-directives", "lintfix": "eslint . --fix",
"watch": "tsc-watch -p tsconfig.build.json --onCompilationComplete \"tsc-alias -p tsconfig.build.json\" --onSuccess \"pnpm n8n-generate-ui-types\"", "watch": "tsc-watch -p tsconfig.build.json --onCompilationComplete \"tsc-alias -p tsconfig.build.json\" --onSuccess \"pnpm n8n-generate-ui-types\"",
"test": "jest" "test": "jest"
}, },

View file

@ -29,8 +29,8 @@
"typecheck": "tsc", "typecheck": "tsc",
"build": "tsc -p tsconfig.build.json", "build": "tsc -p tsconfig.build.json",
"format": "prettier --write . --ignore-path ../../.prettierignore", "format": "prettier --write . --ignore-path ../../.prettierignore",
"lint": "eslint . --quiet --report-unused-disable-directives", "lint": "eslint . --quiet",
"lintfix": "eslint . --fix --report-unused-disable-directives", "lintfix": "eslint . --fix",
"watch": "tsc -p tsconfig.build.json --watch", "watch": "tsc -p tsconfig.build.json --watch",
"test": "jest", "test": "jest",
"test:dev": "jest --watch" "test:dev": "jest --watch"