Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK: tslint now prohibits console.x and debugger #2144

Merged
merged 1 commit into from
Sep 27, 2018

Conversation

JamesAlias
Copy link
Contributor

@JamesAlias JamesAlias commented Sep 26, 2018

What I did
I configured TSLint so that it prohibits console.x and debugger.

How I did it
I set the corresponding setting to true:

  • no-console: true
  • no-debugger: true

How to verify it
Use console.log in .ts(x) file and run make lint. It should fail with an error msg.
It should not fail when running make build-watch. So you can still use console and debugger while developing.

@JamesAlias
Copy link
Contributor Author

This is a left-over task from #2128.
cc @mstruebing

@mstruebing
Copy link
Contributor

Yep! Seems I have broken travis, will fix it tomorrow.

@mstruebing
Copy link
Contributor

Hey @JamesAlias - master is fixed, could you please rebase your branch?

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

Successfully merging this pull request may close these issues.

2 participants