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

Preserve original linterOptions in tslint.json #1548

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

Conversation

defr0std
Copy link

@defr0std defr0std commented Apr 9, 2020

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.

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.

This changelist addresses the problem above by preserving original
linterOptions, and extending them with the requested ones.
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