ionic-team / ionic-app-scripts

App Build Scripts for Ionic Projects
http://ionicframework.com/
MIT License
608 stars 304 forks source link

Allow tslint fix option #1406

Open santiDotIO opened 6 years ago

santiDotIO commented 6 years ago

Note: for support questions, please use one of these channels:

https://forum.ionicframework.com/ http://ionicworldwide.herokuapp.com/

Short description of the problem:

tslint has a built-in fix option. Currently, it's hardcoded to false. there should be a config to allow tslint fix option https://github.com/ionic-team/ionic-app-scripts/blob/master/src/lint/lint-factory.ts#L94

What behavior are you expecting?

Potentially add something like tslint_auto_fix in package.json config

Which @ionic/app-scripts version are you using? v3.1.8

sgeffken commented 5 years ago

Any news on this? Couldn't find a way to run linting with autofix via ionic-app-scripts.

Trexology commented 5 years ago

it's been a year... still no progress on this??