From 293df2f4c7d9060568e11ae67f5c9fefb6c4bfc0 Mon Sep 17 00:00:00 2001 From: Adam Jones Date: Thu, 16 May 2024 00:49:48 +0100 Subject: [PATCH] Fix lint --- apps/availability/package.json | 2 +- apps/backend/package.json | 2 +- apps/frontend-example/package.json | 2 +- apps/infra/package.json | 2 +- apps/meet/package.json | 2 +- libraries/backend-contract/package.json | 2 +- libraries/eslint-config/src/index.js | 3 ++ libraries/ui/package.json | 2 +- package-lock.json | 49 ++++++++++++++----------- 9 files changed, 37 insertions(+), 29 deletions(-) diff --git a/apps/availability/package.json b/apps/availability/package.json index af64c8e..70b1d0b 100644 --- a/apps/availability/package.json +++ b/apps/availability/package.json @@ -34,7 +34,7 @@ "@vitejs/plugin-react": "^4.2.1", "autoprefixer": "^10.4.19", "dotenv": "^16.4.5", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "happy-dom": "^14.7.1", "node-mocks-http": "^1.14.1", "postcss": "^8.4.38", diff --git a/apps/backend/package.json b/apps/backend/package.json index d33bdde..4f025fb 100644 --- a/apps/backend/package.json +++ b/apps/backend/package.json @@ -33,7 +33,7 @@ "@types/http-errors": "^2.0.4", "@types/node": "^20.12.12", "@types/pg": "^8.10.9", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "kanel": "^3.8.2", "kanel-kysely": "^0.3.2", "tsup": "^8.0.1", diff --git a/apps/frontend-example/package.json b/apps/frontend-example/package.json index 1cdfabb..4843d4e 100644 --- a/apps/frontend-example/package.json +++ b/apps/frontend-example/package.json @@ -36,7 +36,7 @@ "@vitejs/plugin-react": "^4.2.1", "autoprefixer": "^10.4.19", "dotenv": "^16.4.5", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "happy-dom": "^14.7.1", "node-mocks-http": "^1.14.1", "postcss": "^8.4.38", diff --git a/apps/infra/package.json b/apps/infra/package.json index acf5749..7e328b4 100644 --- a/apps/infra/package.json +++ b/apps/infra/package.json @@ -20,7 +20,7 @@ "@bluedot/eslint-config": "*", "@bluedot/typescript-config": "*", "@types/node": "^20.12.12", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "typescript": "^5.3.2" } } diff --git a/apps/meet/package.json b/apps/meet/package.json index 4f3fc95..cc8f8b8 100644 --- a/apps/meet/package.json +++ b/apps/meet/package.json @@ -36,7 +36,7 @@ "@vitejs/plugin-react": "^4.2.1", "autoprefixer": "^10.4.19", "dotenv": "^16.4.5", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "happy-dom": "^14.7.1", "node-mocks-http": "^1.14.1", "postcss": "^8.4.38", diff --git a/libraries/backend-contract/package.json b/libraries/backend-contract/package.json index bb33506..18cf00e 100644 --- a/libraries/backend-contract/package.json +++ b/libraries/backend-contract/package.json @@ -16,7 +16,7 @@ "@bluedot/eslint-config": "*", "@bluedot/typescript-config": "*", "@types/node": "^20.12.12", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "ts-node": "^10.9.1", "typescript": "^5.3.2" } diff --git a/libraries/eslint-config/src/index.js b/libraries/eslint-config/src/index.js index fa0ba63..ca9e75c 100644 --- a/libraries/eslint-config/src/index.js +++ b/libraries/eslint-config/src/index.js @@ -88,6 +88,9 @@ module.exports = { 'eslint-config-domdomegg', 'eslint-config-turbo', ], + parserOptions: { + ecmaVersion: 'latest', + }, rules, overrides: [{ files: ['*.ts', '*.tsx', '*.mts', '*.cts'], diff --git a/libraries/ui/package.json b/libraries/ui/package.json index facf995..d176a19 100644 --- a/libraries/ui/package.json +++ b/libraries/ui/package.json @@ -21,7 +21,7 @@ "@types/react-dom": "^18.2.0", "@vitejs/plugin-react": "^4.2.1", "dotenv": "^16.4.5", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "typescript": "^5.3.2", "vitest": "^1.6.0" } diff --git a/package-lock.json b/package-lock.json index 357b832..48f6366 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "@vitejs/plugin-react": "^4.2.1", "autoprefixer": "^10.4.19", "dotenv": "^16.4.5", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "happy-dom": "^14.7.1", "node-mocks-http": "^1.14.1", "postcss": "^8.4.38", @@ -92,7 +92,7 @@ "@types/http-errors": "^2.0.4", "@types/node": "^20.12.12", "@types/pg": "^8.10.9", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "kanel": "^3.8.2", "kanel-kysely": "^0.3.2", "tsup": "^8.0.1", @@ -133,7 +133,7 @@ "@vitejs/plugin-react": "^4.2.1", "autoprefixer": "^10.4.19", "dotenv": "^16.4.5", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "happy-dom": "^14.7.1", "node-mocks-http": "^1.14.1", "postcss": "^8.4.38", @@ -192,7 +192,7 @@ "@bluedot/eslint-config": "*", "@bluedot/typescript-config": "*", "@types/node": "^20.12.12", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "typescript": "^5.3.2" } }, @@ -225,7 +225,7 @@ "@vitejs/plugin-react": "^4.2.1", "autoprefixer": "^10.4.19", "dotenv": "^16.4.5", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "happy-dom": "^14.7.1", "node-mocks-http": "^1.14.1", "postcss": "^8.4.38", @@ -482,7 +482,7 @@ "@bluedot/eslint-config": "*", "@bluedot/typescript-config": "*", "@types/node": "^20.12.12", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "ts-node": "^10.9.1", "typescript": "^5.3.2" } @@ -518,7 +518,7 @@ "@types/react-dom": "^18.2.0", "@vitejs/plugin-react": "^4.2.1", "dotenv": "^16.4.5", - "eslint": "^8.53.0", + "eslint": "^8.57.0", "typescript": "^5.3.2", "vitest": "^1.6.0" } @@ -1717,9 +1717,10 @@ } }, "node_modules/@eslint/js": { - "version": "8.56.0", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true, - "license": "MIT", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } @@ -1863,12 +1864,13 @@ } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.13", + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", "dev": true, - "license": "Apache-2.0", "dependencies": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", "minimatch": "^3.0.5" }, "engines": { @@ -1888,9 +1890,10 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.1", - "dev": true, - "license": "BSD-3-Clause" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "dev": true }, "node_modules/@internationalized/date": { "version": "3.5.0", @@ -6215,9 +6218,10 @@ } }, "node_modules/acorn": { - "version": "8.11.2", + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", "devOptional": true, - "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -7959,15 +7963,16 @@ } }, "node_modules/eslint": { - "version": "8.56.0", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, - "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.56.0", - "@humanwhocodes/config-array": "^0.11.13", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0",