Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Add missing dir to the no-console #889

Closed
wants to merge 1 commit into from

Conversation

astorije
Copy link
Contributor

PR checklist

  • Addresses an existing issue
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

We noticed this was missing, allowing workarounds. I know this repo is in hiatus now, but even if you do not merge, it could be useful for people stumbling over this wondering why this does not trigger. We are actually going to override the rule by removing the list of methods, disallowing all console methods (and that would be my preferred option for the recommended ruleset, even).

I can add tests and docs as needed, if you happen to want to merge this :)

We noticed this was missing, allowing workarounds. I know this repo is in hiatus now, but even if you do not merge, it could be useful for people stumbling over this wondering why this does not trigger. We are actually going to override the rule by removing the list of methods, disallowing all `console` methods (and that would be my preferred option for the recommended ruleset, even).
@astorije astorije mentioned this pull request Oct 11, 2019
4 tasks
@JoshuaKGoldberg
Copy link

Ah, thanks for sending this @astorije! You're right that this PR is good as reference, and also right that since we're moving off of TSLint (#876) we won't be merging this PR. 😦

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