Exclude require declarations from copy-paste detection

Description

Issue link: https://github.com/SonarSource/SonarJS/issues/4620


Related #2971

Reported in community: https://community.sonarsource.com/t/fixed-many-duplicate-blocks-reported-for-requires-in-javascript-files/111884

We should ignore the whole assignment declaration, not only the call to require.

Activity

Show:
Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Fix versions

Priority

Sentry

Created April 24, 2024 at 2:20 PM
Updated October 16, 2024 at 12:53 PM
Resolved September 20, 2024 at 12:15 PM