Hey there,
I have an ionic project where I want to make sure the code stops compiling when there are any lint errors.
I have tried to use the ionic_bail_on_lint_error
in package.json like so:
"config": {
"ionic_bail_on_lint_error": true
}
but the code still compiles afterwards. I also tried using the --bailOnLintError
argument in ionic serve / npm run ionic:serve, with no result.
I know it can be solved by changing the original webpack.config.js file, but that doesn’t look to me as a proper option when Ionic updates/overrides it.
How can this be done? Thanks in advance.