for Windows and Linux
Use this page to specify the validation settings for your application.
Validate on build
Select this checkbox, to have IntelliJ IDEA run the desired validators when building your project. The validation results will be shown in the Messages window, and you will be able to easily navigate through the list of issues and jump directly to problematic code fragments.
Select the validators you want to be run.
Exclude from validation
Use Alt+Insert and Alt+Delete to form the list of files and directories that should be excluded from validation. For directories, use the Recursively checkbox to specify that the corresponding directory should be excluded from validation along with all the subdirectories contained therein.