Skip to content

Commit

Permalink
refact(build): update to eslint 9.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Sep 5, 2024
1 parent 1d0e36e commit 31fca82
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 156 deletions.
2 changes: 1 addition & 1 deletion app/api/ltData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export async function getFileDetails(
lng = parseFloat(loc[3]);
}
return new LatLng('Object location', lat, lng);
} catch (e) {
} catch {
return new LatLng('Object location', undefined, undefined);
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/components/ltFilesSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function tryParse<T>(parser: (string: string) => T, text: string, fallback: T):
}
try {
return parser(text as string);
} catch (ex) {
} catch {
return fallback;
}
}
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,20 @@
"wikimedia-commons-file-path": "^2.1.1"
},
"devDependencies": {
"@eslint/js": "^9.7.0",
"@eslint/js": "^9.9.1",
"@types/leaflet": "^1.9.3",
"@vitejs/plugin-vue": "^5.1.3",
"angular-gettext-cli": "^1.2.0",
"angular-gettext-tools": "^2.3.5",
"eslint": "^9.7.0",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.27.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-vue": "^9.28.0",
"husky": "^9.0.10",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"typescript": "^5.3.3",
"typescript-eslint": "^7.16.0",
"typescript-eslint": "^8.4.0",
"vite": "^5.4.3"
},
"lint-staged": {
Expand Down
Loading

0 comments on commit 31fca82

Please sign in to comment.