Does PHPTools for VS support .editorconfig
files? In particular, I'd like to suppress warnings from 3rd party code.
In a C# project I can do, for example:
[*.cs]
# CA2227: Collection properties should be read only
dotnet_diagnostic.CA2227.severity = none
To suppress all CA2227 warnings. For some PHP projects I'd love to be able to suppress warnings on 3rd party code like Smarty or PHPMailer.
According to https://editorconfig.org/ I should be able to do something like:
[lib/smarty/**.php]
# PHP0409: A scalar of type 'null' used as an array
php_diagnostic.PHP0409.severity = none
Is this supported, and if so, how? If not: Can support be added? I am currently looking at over 2365 warnings in my project of which only 2 are in my own code and the rest is in 3rd party code...