Ignore IDEA files and target directories.