Support Reacts CRA absolute imports in Rule

Hi SonarQube Team,

I’ve encountered an issue with SonarQube and using Reacts Create React App which provides absolute imports activation. See https://create-react-app.dev/docs/importing-a-component/#absolute-imports

SonarQube currently marks absolute imports with rule typescript:S4328 “Dependencies should be explicit”.

It would be a nice addition if SonarQube would support this pattern.

Let me know if you need more clarification on this.

Best regards

Olivier

Hey there.

I believe this is something already on our radar. SonarSource/SonarJS #1929

1 Like

Hey Colin,

thank’s, that is exactly what I was looking for.

Cheers
Olivier

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.