ionic-team / ionic-app-scripts

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

TSLint: Support for excluding files and folders (simplified) #1523

Open vbolshutkin opened 5 years ago

vbolshutkin commented 5 years ago

Short description of what this resolves:

Sometimes we might want to exclude files from linting, i.e. autogenerated files, stub files etc. TSLint does support this in its tslint.json file, but ionic-app-scripts overwrite that field with {typeCheck:false}

There's another pull-request https://github.com/ionic-team/ionic-app-scripts/pull/1204 for the same purpose, but it is a bit more verbose, a bit outdated and in case of appearing new linter options supported by TSLint we will apply the same fixes once again

Changes proposed in this pull request:

vbolshutkin commented 5 years ago

Perhaps, a duplicate of https://github.com/ionic-team/ionic-app-scripts/issues/1463