wongjn / vscode-php-sniffer

Visual Studio Code extension for PHP_Codesniffer validation and formatting.
https://marketplace.visualstudio.com/items?itemName=wongjn.php-sniffer
MIT License
46 stars 7 forks source link

disable option #38

Closed meysamkia closed 3 years ago

meysamkia commented 4 years ago

Is your feature request related to a problem? Please describe. I have not found a way to disable the extension in the settings. Whenever I don't want the code to be sniffed I have to disable the extension from the the extensions entry, then change the workspace/user settings file, since it doesn't know about the extension anymore.

Describe the solution you'd like It would be nice to have the option to disable linting in the user or workspace settings.

It is a wonderful extension. Thanks

wongjn commented 4 years ago

You can leave the settings in the settings file even if you have the extension disabled — VSCode still works.