Skip to content

Commit

Permalink
chore: update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
rawnly committed Mar 31, 2024
1 parent 9dd9fc9 commit 09d44f9
Show file tree
Hide file tree
Showing 3 changed files with 814 additions and 366 deletions.
12 changes: 6 additions & 6 deletions packages/next-wayfinder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@
},
"devDependencies": {
"@types/node": "^20.12.2",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vitest/coverage-c8": "^0.33.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-unused-imports": "^3.1.0",
"next": "^14.1.4",
"prettier": "^3.2.5",
"ts-mockito": "^2.6.1",
Expand Down
1 change: 1 addition & 0 deletions packages/next-wayfinder/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const parse: RequestParser = req => {
};

export const getParams = (matcher: PathMatcher, pathname: string): UrlParams =>
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(match(matcher)(pathname) as any).params ?? {};

export interface FindOptions {
Expand Down
Loading

0 comments on commit 09d44f9

Please sign in to comment.