Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49212

Ionic TSLint bail_on_lint_error not working

$
0
0

@wesmuis wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49212

Trending Articles