npm scripts - Tslint --fix does not autofix but isntead output's lint problems as console errors -


i'm using angular starter kit: https://github.com/angularclass/angular-starter

and i'm trying tslint autofix lint problems --fix flag.

i'm running script: npm run tslint --fix src/**/*.ts

it output's same error i'm being told in tslint , not autofixing it:

console output:

error: src/app/app-routing.module.ts[10, 5]: comment must start space error: src/app/app-routing.module.ts[2, 20]: many spaces before 'from' 

am missing allows implement changes?

my versions are:

"tslint": "^5.6.0"   "codelyzer": "^3.1.2" 

question: how can tslint implement autofix lint errors?


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -