From 741c2d48f12286f124a75706f714cdb2992ced0a Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 04:11:58 +0000 Subject: [PATCH] chore(vendor): update @lightbase/eslint-plugin _This PR is created by sync and will be force-pushed daily. Overwriting any manual changes done to this PR._ - chore(deps): bump the minor-prod group with 7 updates (lightbasenl/frontend-components#88) (lightbasenl/frontend-components@14e2493dbed067b85bbf6c03d246901ed2c0fb71) - chore(deps): bump the minor-prod group with 5 updates (lightbasenl/frontend-components#81) (lightbasenl/frontend-components@69e5fe9b25e477d7a96d76a4973d802b57cd4ea9) - chore(deps): bump the minor-prod group with 9 updates (lightbasenl/frontend-components#71) (lightbasenl/frontend-components@7eb3791ea9604a5bfb4e387143e8fee2b4a57635) - feat(eslint-plugin): error on floaty promises & constant binary expresssions (lightbasenl/frontend-components#59) (lightbasenl/frontend-components@f4c4ac831aac1bf695f60b15f5d46697f405e222) - chore(deps): update dependencies (lightbasenl/frontend-components#57) (lightbasenl/frontend-components@0e1090041d1adbd7b5c7dfa3c299d963ca9dc97f) - chore(deps): update dependencies (lightbasenl/frontend-components#54) (lightbasenl/frontend-components@090296eb4107a326955f46428f07432c8fceb5a2) - chore(deps): update dependencies (lightbasenl/frontend-components#52) (lightbasenl/frontend-components@d4ae06224dabb61b59fa68d973faaa3b4cb8c5b6) - chore(deps): update dependencies (lightbasenl/frontend-components#51) (lightbasenl/frontend-components@b4b06009b1107217dcf04dd226bf5920bcaec9ed) - chore(deps): update dependencies (lightbasenl/frontend-components#48) (lightbasenl/frontend-components@19c4df157c32330214c5c8297ca219f7533c4c7d)- Failed to execute `npm run format`. Sync is not able to correct this, so human checks and fixes are necessary for this PR. --- vendor/eslint-plugin/package.json | 18 +++++++++--------- vendor/eslint-plugin/src/index.js | 3 +++ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/vendor/eslint-plugin/package.json b/vendor/eslint-plugin/package.json index bc8924c8..43826cf0 100644 --- a/vendor/eslint-plugin/package.json +++ b/vendor/eslint-plugin/package.json @@ -4,20 +4,20 @@ "private": true, "main": "./src/index.js", "dependencies": { - "@typescript-eslint/eslint-plugin": "6.7.5", - "@typescript-eslint/parser": "6.7.5", - "eslint": "8.51.0", - "eslint-config-next": "13.5.4", - "eslint-config-prettier": "9.0.0", + "@typescript-eslint/eslint-plugin": "6.18.0", + "@typescript-eslint/parser": "6.18.0", + "eslint": "8.56.0", + "eslint-config-next": "14.0.4", + "eslint-config-prettier": "9.1.0", "eslint-plugin-no-relative-import-paths": "1.5.3", - "eslint-plugin-prettier": "5.0.1", + "eslint-plugin-prettier": "5.1.2", "eslint-plugin-unused-imports": "3.0.0", - "prettier": "3.0.3", - "prettier-plugin-tailwindcss": "0.5.6" + "prettier": "3.1.1", + "prettier-plugin-tailwindcss": "0.5.11" }, "files": [ "README.md", "src/index.js" ], - "gitHead": "29ce2d6a4ddccaf10df12fd5a180b13b4c6ca450" + "gitHead": "4410a3e0201f455092576429e5e95e6ae20990b6" } diff --git a/vendor/eslint-plugin/src/index.js b/vendor/eslint-plugin/src/index.js index 73556ee1..926e3cb3 100644 --- a/vendor/eslint-plugin/src/index.js +++ b/vendor/eslint-plugin/src/index.js @@ -94,6 +94,7 @@ module.exports = { "@typescript-eslint/no-explicit-any": "error", "@typescript-eslint/prefer-ts-expect-error": "error", "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/no-floating-promises": "error", "@next/next/no-img-element": "off", "react/react-in-jsx-scope": "off", @@ -103,6 +104,8 @@ module.exports = { "default-case": "off", curly: "error", + "no-constant-binary-expression": "error", + "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "error", },