question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin should non-invasively allow disabling error reporting

See original GitHub issue

Hi there, thanks for this extension! In my project setup, Stylelint is already handling validation of styled component strings, so I don’t need any additional error reporting. I understand that I can disable it by editing my tsconfig.json, but… I don’t really want to pollute repository-level configuration on a shared project to fix a quirk in my personal tooling. Doing so would make the config less readable and comprehensible for every collaborator, and they emphatically should not have to care about which text editor I’m using and which extensions I have installed for it.

It doesn’t seem like there’s a way to do via the extension configuration options currently documented – am I missing something?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jasonwilliamscommented, May 18, 2021

Hi @lostfictions

I see what you’re suggesting, but sadly there’s no way for this extension to inject configuration down into typescript-styled-plugin dynamically. I took a look at the forks but they seem to just cut-off the language service altogether which isn’t really an option here.

So I don’t really know what to suggest. I think @mjbvz might have an idea on having the extension communicate with the language service to switch linting off, but if not then there aren’t any changes we’re able to make here.

1reaction
lostfictionscommented, Apr 14, 2020

@mjbvz thanks for the quick reply! As I mentioned, I’m specifically seeking to not have to pollute per-project configuration (which is shared with other collaborators who don’t know or care about the tooling I’m using as an individual) to achieve this. Unless I’m missing something, the link you shared explains how to disable linting by editing a project’s tsconfig.json or jsconfig.json; I’m aware of this and I’m asking whether it would instead be possible to disable linting as the extension level, so that it only impacts myself as a user of VS Code rather than disrupting things for everyone collaborating on a project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Got following error code, even when disabling/removing plugin
After installation, I am getting a 500 error code and can't disable plugin. Plugin Support Pawel – WPMU DEV Support. (@wpmudev-support9).
Read more >
How to Disable WordPress PHP Error Messages - GreenGeeks
PHP errors can help developers track down site issues but look bad for visitors. Learn how to disable WordPress PHP error messages today....
Read more >
Enable or disable automatic error reporting for GCPW
Enable or disable automatic error reporting for GCPW · Open a command prompt with full administrator permissions in Microsoft Windows. · Change directory:...
Read more >
Database error reporting has not been disabled - Support
I have been using the free version of MainWP for a couple weeks and really like it. I will be moving up to...
Read more >
USP Pro – Enable/Disable Error Reporting - Plugin Planet
To disable error reporting, open up your site's wp-config.php file and add the following lines, just before the line that says, “That's all, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found