Skip to content

Commit e9da76a

Browse files
authored
Merge pull request #45 from collective/fixeslintpinnings
Fixed eslint devDeps pinnings to use carets.
2 parents 8c59056 + 918614a commit e9da76a

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
"@commitlint/config-conventional": "^17.0.2",
2828
"@plone/scripts": "^3.0.0",
2929
"@release-it/conventional-changelog": "^5.0.0",
30-
"eslint": "8.49.0",
31-
"eslint-config-prettier": "9.0.0",
32-
"eslint-config-react-app": "7.0.1",
33-
"eslint-plugin-flowtype": "8.0.3",
34-
"eslint-plugin-import": "2.28.1",
35-
"eslint-plugin-jsx-a11y": "6.7.1",
36-
"eslint-plugin-prettier": "5.0.0",
37-
"eslint-plugin-react": "7.33.2",
38-
"eslint-plugin-react-hooks": "4.6.0",
30+
"eslint": "^8.49.0",
31+
"eslint-config-prettier": "^9.0.0",
32+
"eslint-config-react-app": "^7.0.1",
33+
"eslint-plugin-flowtype": "^8.0.3",
34+
"eslint-plugin-import": "^2.28.1",
35+
"eslint-plugin-jsx-a11y": "^6.7.1",
36+
"eslint-plugin-prettier": "^5.0.0",
37+
"eslint-plugin-react": "^7.33.2",
38+
"eslint-plugin-react-hooks": "^4.6.0",
3939
"postcss-syntax": "^0.36.2",
4040
"prettier": "3.0.3",
4141
"release-it": "^16.1.5",

src/components/Login/Login.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ function Login({ intl }) {
6969
window.location.href = next_url;
7070
}, 500);
7171
}
72+
// eslint-disable-next-line react-hooks/exhaustive-deps
7273
}, [startedOIDC, loginOIDCValues]);
7374

7475
useEffect(() => {

src/components/LoginOIDC/LoginOIDC.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ function LoginOIDC({ intl }) {
5757
toast.dismiss('loginFailed');
5858
}
5959
}
60+
// eslint-disable-next-line react-hooks/exhaustive-deps
6061
}, [token, history]);
6162

6263
useEffect(() => {

0 commit comments

Comments
 (0)