Plugin should non-invasively allow disabling error reporting
See original GitHub issueHi 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:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@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
orjsconfig.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.