There is a known issue where this restriction does not work as expected. This is a known issue with how the restriction is implemented in Detekt. This restriction needs to be changed to “Allowed” or “Not blocked” to prevent the issue from occurring.
How to change restriction:
Go to Settings > Blocked sources > XML and enter the new source information. Click on Save. GitHub repository detekt/detekt prior to 1.20.0
How to change source information:
Access the Detekt settings page by going to “Detekt settings” in the Detekt menu. Go to “Blocked sources”. Enter the new information in the “XML source” field. Click on Save.
Troubleshooting and bug reporting are two different aspects of an application. Troubleshooting is when you encounter a problem with the application that makes it difficult or impossible to complete your task. Bug reporting is when you provide feedback on the function of the application and how it can be improved.
New restriction :
The following restrictions are being added to the Detekt application.
This restriction needs to be changed to “Allowed” or “Not blocked” to prevent the issue from occurring.