Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)} was found in the config root.
You are probably trying to mix simple and advanced config formats. Adding
${chalk.bold(`"linters": {
"${option}": ${JSON.stringify(config[option])}
}`)}
will fix it and remove this message.`
const comment = options.comment
const name = (options.title && options.title.warning) || 'WARNING'
return logValidationWarning(name, message, comment)
}
// If it is not glob pattern, use default jest-validate reporter
return unknownOptionWarning(config, example, option, options)
}