Fix validation checks and remove IntellIJ from .gitignore