My company is switching from Eclipse to IntelliJ. In Eclipse we had a following configuration for suppression filters in checkstyle.xml
<module name="SuppressionFilter">
<property name="file" value="${checkstyle.config.dir}/suppressions.xml"/>
</module>
<module name="SuppressionFilter">
<property name="file" value="${common.checkstyle.config.dir}/global-suppressions.xml"/>
</module>
Where:
common.checkstyle.config.dir
was an absolute path to the common project(module in IntelliJ).checkstyle.config.dir
was an relative path to the project(module), and has a value ofcheckstyle.config.dir=${root.dir}/config/checkstyle
We would like to define a path for this file in IntelliJ, so it would look for the suppression filter in each MODULE/config/checkstyle directory(each module has a different suppression).
Does anyone know if it is possible? We have tried to find a solution for quite some time, but no luck so far.