Javascript – ESlint doesn't allow to build nextjs 15 app because of unused error variable in a try catch
I'm learning nextJS 15 and I'm making an app using the pokeAPI but when I run npm run build eslint gives me the following message: Error: 'error' is defined but never used. @typescript-eslint/no-unused-vars The following code is the one producing…