ionic-team / ionic-app-scripts

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

Preserve original linterOptions in tslint.json #1548

Open defr0std opened 4 years ago

defr0std commented 4 years ago

Short description of what this resolves:

tslint.json may specify linterOptions. For example, a certain directory may be excluded from linting. However, when linter is run as part of ionic-app-scripts, linterOptions are fully overwritten, and exclusion is no longer performed.

Changes proposed in this pull request:

This changelist addresses the problem above by preserving original linterOptions, and extending them with the requested ones.