From d3bb7d11357acc3f310bb2817e2792a8a4ad703f Mon Sep 17 00:00:00 2001 From: sriramveeraghanta Date: Tue, 8 Jul 2025 20:11:33 +0530 Subject: [PATCH] chore: remove maxwarning from scripts --- apps/admin/package.json | 2 +- apps/live/.eslintrc.js | 6 ++++++ apps/live/.eslintrc.json | 5 ----- apps/live/package.json | 2 +- apps/space/package.json | 2 +- apps/web/package.json | 2 +- package.json | 3 ++- packages/constants/.eslintrc.js | 1 + packages/constants/package.json | 3 +-- packages/decorators/package.json | 2 +- packages/editor/package.json | 2 +- packages/hooks/package.json | 2 +- packages/i18n/package.json | 2 +- packages/logger/package.json | 2 +- packages/propel/package.json | 2 +- packages/services/package.json | 2 +- packages/shared-state/package.json | 2 +- packages/types/.eslintrc.js | 1 + packages/types/package.json | 3 +-- packages/types/src/page/extended.ts | 1 - packages/types/src/page/index.ts | 1 - packages/ui/package.json | 2 +- packages/utils/package.json | 2 +- 23 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 apps/live/.eslintrc.js delete mode 100644 apps/live/.eslintrc.json delete mode 100644 packages/types/src/page/extended.ts diff --git a/apps/admin/package.json b/apps/admin/package.json index 2546c62bee..926202442a 100644 --- a/apps/admin/package.json +++ b/apps/admin/package.json @@ -10,7 +10,7 @@ "preview": "next build && next start", "start": "next start", "clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint .", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/apps/live/.eslintrc.js b/apps/live/.eslintrc.js new file mode 100644 index 0000000000..646bb5507d --- /dev/null +++ b/apps/live/.eslintrc.js @@ -0,0 +1,6 @@ +/** @type {import("eslint").Linter.Config} */ +module.exports = { + root: true, + extends: ["@plane/eslint-config/server.js"], + parser: "@typescript-eslint/parser", +}; diff --git a/apps/live/.eslintrc.json b/apps/live/.eslintrc.json deleted file mode 100644 index db20d9097b..0000000000 --- a/apps/live/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "root": true, - "extends": ["@plane/eslint-config/server.js"], - "parser": "@typescript-eslint/parser" -} diff --git a/apps/live/package.json b/apps/live/package.json index df581600d1..5c87ce9927 100644 --- a/apps/live/package.json +++ b/apps/live/package.json @@ -10,7 +10,7 @@ "dev": "tsup --watch --onSuccess 'node --env-file=.env dist/server.js'", "build": "tsc --noEmit && tsup", "start": "node --env-file=.env dist/server.js", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint .", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/apps/space/package.json b/apps/space/package.json index 2e5d2b559d..3533b4b63c 100644 --- a/apps/space/package.json +++ b/apps/space/package.json @@ -8,7 +8,7 @@ "build": "next build", "start": "next start", "clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint .", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/apps/web/package.json b/apps/web/package.json index 66273772e2..623e42fe95 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -8,7 +8,7 @@ "build": "next build", "start": "next start", "clean": "rm -rf .turbo && rm -rf .next && rm -rf node_modules && rm -rf dist", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint .", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/package.json b/package.json index 9d47cde359..eff21a3c4e 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,8 @@ "start": "turbo run start", "clean": "turbo run clean", "fix": "turbo run fix", - "check": "turbo run check" + "check": "turbo run check", + "check:lint": "turbo run check:lint" }, "devDependencies": { "prettier": "latest", diff --git a/packages/constants/.eslintrc.js b/packages/constants/.eslintrc.js index c9472ec202..b11b7bb6d6 100644 --- a/packages/constants/.eslintrc.js +++ b/packages/constants/.eslintrc.js @@ -1,3 +1,4 @@ +/** @type {import("eslint").Linter.Config} */ module.exports = { root: true, extends: ["@plane/eslint-config/library.js"], diff --git a/packages/constants/package.json b/packages/constants/package.json index c7ba4eb3ac..d14abce891 100644 --- a/packages/constants/package.json +++ b/packages/constants/package.json @@ -3,7 +3,6 @@ "version": "0.27.1", "private": true, "license": "AGPL-3.0", - "type": "module", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", @@ -20,7 +19,7 @@ "scripts": { "dev": "tsup --watch", "build": "tsc --noEmit && tsup", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint .", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/decorators/package.json b/packages/decorators/package.json index eee9678470..7741cc68d2 100644 --- a/packages/decorators/package.json +++ b/packages/decorators/package.json @@ -13,7 +13,7 @@ "scripts": { "build": "tsup src/index.ts --format esm,cjs --dts --external express,ws", "dev": "tsup src/index.ts --format esm,cjs --watch --dts --external express,ws", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint .", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/editor/package.json b/packages/editor/package.json index 4b326e0199..9fe21e3dcd 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -24,7 +24,7 @@ "scripts": { "build": "tsup --minify", "dev": "tsup --watch", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint .", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/hooks/package.json b/packages/hooks/package.json index 89f24ac38d..0d328f37ba 100644 --- a/packages/hooks/package.json +++ b/packages/hooks/package.json @@ -13,7 +13,7 @@ "scripts": { "build": "tsup --minify", "dev": "tsup --watch", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint .", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/i18n/package.json b/packages/i18n/package.json index 51d1ad71fa..8b9c42e7b9 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -7,7 +7,7 @@ "main": "./src/index.ts", "types": "./src/index.ts", "scripts": { - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint . ", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/logger/package.json b/packages/logger/package.json index 05715d2dea..f92aa20346 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -13,7 +13,7 @@ "scripts": { "build": "tsup --minify", "dev": "tsup --watch", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint . ", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/propel/package.json b/packages/propel/package.json index 3cb12405c7..162771392f 100644 --- a/packages/propel/package.json +++ b/packages/propel/package.json @@ -4,7 +4,7 @@ "private": true, "license": "AGPL-3.0", "scripts": { - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint . ", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/services/package.json b/packages/services/package.json index d3eacd9cee..16fcc85720 100644 --- a/packages/services/package.json +++ b/packages/services/package.json @@ -5,7 +5,7 @@ "private": true, "main": "./src/index.ts", "scripts": { - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint . ", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/shared-state/package.json b/packages/shared-state/package.json index b9096eb6cc..0277fba609 100644 --- a/packages/shared-state/package.json +++ b/packages/shared-state/package.json @@ -7,7 +7,7 @@ "main": "./src/index.ts", "types": "./src/index.ts", "scripts": { - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint . ", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/types/.eslintrc.js b/packages/types/.eslintrc.js index c9472ec202..b11b7bb6d6 100644 --- a/packages/types/.eslintrc.js +++ b/packages/types/.eslintrc.js @@ -1,3 +1,4 @@ +/** @type {import("eslint").Linter.Config} */ module.exports = { root: true, extends: ["@plane/eslint-config/library.js"], diff --git a/packages/types/package.json b/packages/types/package.json index 0c6b0185d7..332df86d35 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -3,7 +3,6 @@ "version": "0.27.1", "license": "AGPL-3.0", "private": true, - "type": "module", "types": "./dist/index.d.ts", "main": "./dist/index.js", "module": "./dist/index.js", @@ -20,7 +19,7 @@ "scripts": { "dev": "tsup --watch", "build": "tsc --noEmit && tsup", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint . ", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/types/src/page/extended.ts b/packages/types/src/page/extended.ts deleted file mode 100644 index 7edfae8286..0000000000 --- a/packages/types/src/page/extended.ts +++ /dev/null @@ -1 +0,0 @@ -export type TPageExtended = {}; diff --git a/packages/types/src/page/index.ts b/packages/types/src/page/index.ts index c6c1c2a060..8d119dee81 100644 --- a/packages/types/src/page/index.ts +++ b/packages/types/src/page/index.ts @@ -1,2 +1 @@ export * from "./core"; -export * from "./extended"; diff --git a/packages/ui/package.json b/packages/ui/package.json index df13b6dc99..dc0e7b23c4 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -17,7 +17,7 @@ "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "postcss": "postcss styles/globals.css -o styles/output.css --watch", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint . ", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix", diff --git a/packages/utils/package.json b/packages/utils/package.json index 86ce63428b..602d14ab6f 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -13,7 +13,7 @@ "scripts": { "build": "tsc --noEmit && tsup --minify", "dev": "tsup --watch", - "check:lint": "eslint . --max-warnings 0", + "check:lint": "eslint . ", "check:types": "tsc --noEmit", "check:format": "prettier --check \"**/*.{ts,tsx,md,json,css,scss}\"", "fix:lint": "eslint . --fix",