Only check for ignored paths if the option is set
Throw error if file is not JSON; fix error messages