source code formatting fix

no functional changes
lint code refactor

lint file parser iterator moved to its own file