Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vbolshutkin
Copy link

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 #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:

  • Use Object.assign to add {typeCheck: false} to linterOptions and preserve original options

…json. Support for excluding files and folders
@vbolshutkin
Copy link
Author

Perhaps, a duplicate of #1463

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant