jorgeortiz85/linter — pull request #8 by tvaughan77 (2012-07-29 17:02:55+00:00)
Title: Extern config

This branch contains the integration with com.typesafe.config to externalize the on/off switches of the different checks we might want to run and to introduce a "Severity" level of the check failure messages.

I ran in to a bit of a wall when actually implementing the whitelist because when the compiler plugin's traverse() method gets handed an "import java.util._" statement (for example), the "pkg" paremeter passed to the Import(pkg, selectors) case statement is actually just the Tree "util", so we gotta figure out how to walk up that Tree and get the complete "java.util" statement so that we can check for its string existing in our List of configured whitelists.