If i import like in typescript model, the request property doesn’t into supertest object
and in js model I got this message
If i import like in typescript model, the request property doesn’t into supertest object
and in js model I got this message
Hello @PatrickAngrezani,
Many thanks for your feedback, and welcome to Sonar community!
Looking at the screenshot you shared, I don’t think the issue that is highlighted is coming from SonarLint (assuming that you are using SonarLint).
The dialog says “Do not use ‘require’. eslint(unicorn/prefer-module)”. As far as I can tell, that issue is coming from a rule provided by eslint-plugin-unicorn, and reported by VS Code ESLint extension.
Hope this helps,
Yassin