Skip to content

Commit

Permalink
feat: update react router deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludea committed Feb 18, 2025
1 parent 6d72e30 commit a8403d6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,18 @@ export default tseslint.config({
},
},
],
rules: {
"@typescript-eslint/no-floating-promises": [
"error",
{
allowForKnownSafeCalls: [
{
from: "package",
name: "NavigateFunction",
package: "react-router",
},
],
},
],
},
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-i18next": "^15.0.1",
"react-router-dom": "^6.22.3"
"react-router-dom": "^7.1.5"
},
"devDependencies": {
"@types/react": "^19.0.1",
Expand Down

0 comments on commit a8403d6

Please sign in to comment.