Closed ukch closed 5 years ago
@ukch Such config should works as you expect:
{
resolve: 'gatsby-plugin-eslint',
options: {
options: {
emitWarning: true,
failOnError: false
}
}
}
With the emitWarning
flag, changing failOnError
value does make a difference :)
Here's the contents of my
gatsby-config.js
:Still, all it takes for my build to fail is one single eslint error. What I would like is for all errors to be logged to the console, but for the build to succeed unless there is an actual error which prevents the code from compiling.