Currently we are using this check with params as below:
But we have a false-positive on code:
Checks says that 'Import .+dao.+ is not allowed here' but this is a valid case.
Sure, check regexp can be updated to skip such cases (something like "((?!springframework).+.dao..+)" ), but if there will be many such cases, regexp will be completely unreadable. So, we should find a way to ignore such cases in another way by updating the check`s code.
We need this fix as soon as possible as we have many false-positives in our production code
Fixes #140: Updated ForbidCertainImportsCheck to let user set exclude…
…s for forbidden imports