diktat
diktat copied to clipboard
Support ignoring `EMPTY_BLOCK_STRUCTURE_ERROR` with config
We need to support ignoring EMPTY_BLOCK_STRUCTURE_ERROR by passing special configuration through diktat-analysis.yml
@sanyavertolet, could you please provide some examples (the code as well as how it is supposed to be suppressed via diktat-analysis.yml)? I'm afraid, as time passes, we may both forget what this issue is about.
I recall there's a common use-case with a logger factory accepting an empty lambda. This was implemented by @nulls in 101ea6fccde86612063fde25b30d3a514097d236, a part of:
- #1529
Anything else?
Anything else?
hr {} and another html's blocks in frontend apps