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", },