Gabb-c / pokenode-ts

A lightweight Node.js wrapper for the PokéAPI with built-in types.
https://pokenode-ts.vercel.app/
MIT License
244 stars 28 forks source link

Fix Sonar code smells #827

Closed Gabb-c closed 1 year ago

Gabb-c commented 1 year ago

What version of pokenode-ts are you using?

latest

What version of Node.js are you using?

lts/hydrogen

What operating system are you using?

Windows 11

Describe the Bug

Fix code smells pointed by Sonarcloud analysis

Expected Behavior

No code smells

To Reproduce

Open Pokenode-ts Sonarcloud

Gabb-c commented 1 year ago

Fixed https://sonarcloud.io/summary/new_code?id=Gabb-c_pokenode-ts

image