[BUG #7279] Restrict lint during compile jobs to application classes.

to be reviewed