diff --git a/.eslintrc b/.eslintrc index a0545d9f..ac4978bc 100644 --- a/.eslintrc +++ b/.eslintrc @@ -11,6 +11,8 @@ "jsx-a11y/control-has-associated-label": "off", "jsx-a11y/label-has-associated-control": "off", "jsx-a11y/click-events-have-key-events": "off", - "jsx-a11y/no-static-element-interactions": "off" + "jsx-a11y/no-static-element-interactions": "off", + "react-hooks/rules-of-hooks": "off", + "react-hooks/exhaustive-deps": "off" } } diff --git a/package-lock.json b/package-lock.json index 090a7f25..4085945b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,7 @@ "workbox-strategies": "^7.0.0" }, "devDependencies": { - "@shlinkio/eslint-config-js-coding-standard": "~2.2.0", + "@shlinkio/eslint-config-js-coding-standard": "~2.3.0", "@shlinkio/stylelint-config-css-coding-standard": "~1.1.1", "@testing-library/jest-dom": "^6.1.2", "@testing-library/react": "^14.0.0", @@ -2783,15 +2783,16 @@ } }, "node_modules/@shlinkio/eslint-config-js-coding-standard": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@shlinkio/eslint-config-js-coding-standard/-/eslint-config-js-coding-standard-2.2.0.tgz", - "integrity": "sha512-KE54Ix62/wMEzvkGREfeeVGg51CZZZrdU/Lsvp+57hFvpNh1fxq4GB6IwhkL7DRd1jGxg2ZwsT5m0QJqqZwQVA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@shlinkio/eslint-config-js-coding-standard/-/eslint-config-js-coding-standard-2.3.0.tgz", + "integrity": "sha512-4/FByDZOgDaR74GHLhAq+ttZMnHnEuV+q9Usa0t23JwyZcUE3Q1Jjehj077O8Yc3n6CBWnMISfsrSBKD1CzMfw==", "dev": true, "dependencies": { "@typescript-eslint/eslint-plugin": "^6.3.0", "@typescript-eslint/parser": "^6.3.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.1.0", + "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-simple-import-sort": "^10.0.0" }, "peerDependencies": { @@ -5460,10 +5461,10 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "4.3.0", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", + "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", "dev": true, - "license": "MIT", - "peer": true, "engines": { "node": ">=10" }, @@ -12417,15 +12418,16 @@ "integrity": "sha512-mrfKqIHnSZRyIzBcanNJmVQELTnX+qagEDlcKO90RgRBVOZGSGvZKeDihTRfWcqoDn5N/NkUcwWTccnpN18Tfg==" }, "@shlinkio/eslint-config-js-coding-standard": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/@shlinkio/eslint-config-js-coding-standard/-/eslint-config-js-coding-standard-2.2.0.tgz", - "integrity": "sha512-KE54Ix62/wMEzvkGREfeeVGg51CZZZrdU/Lsvp+57hFvpNh1fxq4GB6IwhkL7DRd1jGxg2ZwsT5m0QJqqZwQVA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@shlinkio/eslint-config-js-coding-standard/-/eslint-config-js-coding-standard-2.3.0.tgz", + "integrity": "sha512-4/FByDZOgDaR74GHLhAq+ttZMnHnEuV+q9Usa0t23JwyZcUE3Q1Jjehj077O8Yc3n6CBWnMISfsrSBKD1CzMfw==", "dev": true, "requires": { "@typescript-eslint/eslint-plugin": "^6.3.0", "@typescript-eslint/parser": "^6.3.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-airbnb-typescript": "^17.1.0", + "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-simple-import-sort": "^10.0.0" }, "dependencies": { @@ -14333,9 +14335,10 @@ } }, "eslint-plugin-react-hooks": { - "version": "4.3.0", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz", + "integrity": "sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==", "dev": true, - "peer": true, "requires": {} }, "eslint-plugin-simple-import-sort": { diff --git a/package.json b/package.json index 703536ae..b77bebb1 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "workbox-strategies": "^7.0.0" }, "devDependencies": { - "@shlinkio/eslint-config-js-coding-standard": "~2.2.0", + "@shlinkio/eslint-config-js-coding-standard": "~2.3.0", "@shlinkio/stylelint-config-css-coding-standard": "~1.1.1", "@testing-library/jest-dom": "^6.1.2", "@testing-library/react": "^14.0.0",