Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

split tslint rules for dev and ci #52

Merged
merged 1 commit into from
Feb 8, 2018

Conversation

prydonius
Copy link
Contributor

In development, console.log's are useful for debugging. This updates the
main tslint.json file to not error when console.log's are present, but
to just emit warnings. Since tslint doesn't have a stricter mode where
it fails on warnings also, I've created another tslint.ci.json file that
will emit errors if console.log's are present. This file will be used in
the CI and pre-commit hooks so when a developer is ready to commit a
change they will need to remove their debug statements.

In development, console.log's are useful for debugging. This updates the
main tslint.json file to not error when console.log's are present, but
to just emit warnings. Since tslint doesn't have a stricter mode where
it fails on warnings also, I've created another tslint.ci.json file that
will emit errors if console.log's are present. This file will be used in
the CI and pre-commit hooks so when a developer is ready to commit a
change they will need to remove their debug statements.
@prydonius prydonius merged commit 95c6c61 into vmware-archive:2.0 Feb 8, 2018
@prydonius prydonius deleted the tslint-console branch February 8, 2018 11:22
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.

2 participants