preboot / angular-webpack

A complete, yet simple, starter for Angular v2+ using webpack
MIT License
1.29k stars 557 forks source link

How can I turn off the tslinter? #275

Open markoddi01 opened 7 years ago

markoddi01 commented 7 years ago

@Foxandxss I run: npm run start in my git bash.

I get 68 ts lint errors.

I want to turn that off for now.

How can I do that?

Foxandxss commented 7 years ago

You remove it from the webpack config, there is a loader (or preloader, don't remember) that does tslint.

markoddi01 commented 7 years ago

@Foxandxss could you paste the line I need to comment out or the line number please.

This is errors Im getting (68 errors):

image

Foxandxss commented 7 years ago

143-150 should do the trick.

markoddi01 commented 7 years ago

@Foxandxss I commented that out:

/ if (!isTest || !isTestWatch) { // tslint support config.module.rules.push({ test: /.ts$/, enforce: 'pre', loader: 'tslint-loader' }); }/

Then did npm run start.

I got this error still: checking finished with 68 errors

image

Foxandxss commented 7 years ago

That has nothing to do with linting, those are problems within your code or third party libraries.

markoddi01 commented 7 years ago

Hmm I dont even know how to fix most of these errors. I've basically moved from systemjs app to webpack to improve my apps performance. I never had 68 issues in the previous app.