Scribe-Android
Scribe-Android copied to clipboard
Fix linting issues caused due to Nested Block Depth
Terms
- [X] I have searched open and closed feature requests
- [X] I agree to follow Scribe-Android's Code of Conduct
Description
The NestedBlockDepth rule is currently disabled. This rule helps in detecting code with excessive nesting, which can make the code harder to read and understand. Re-enabling this rule will help in maintaining clean and readable code.
Steps to see which all lines have to be modified:
- Comment or set to true the following line in detekt.yml:
NestedBlockDepth:
active: true
- Run the command ./gradlew detekt.
- Check the output to identify files and lines that need refactoring.
Contribution
I would love to work on this issue and am more than willing to help anyone fix the issue :)