Config should not be evaluated for ignored files (#6233)
Prior to this change, the CLI would resolve the config for a file before
checking it against the ignored list. If the config was invalid, the CLI
would report a failure.
This change relocates the config-resolution phase until after the file
is confirmed to not be ignored.