ObliviousHarmony / vscode-php-codesniffer

A VS Code extension for integrating PHP_CodeSniffer.
https://marketplace.visualstudio.com/items?itemName=obliviousharmony.vscode-php-codesniffer
Other
38 stars 2 forks source link

Assign Excluded Files `null` Standard #82

Closed ObliviousHarmony closed 10 months ago

ObliviousHarmony commented 10 months ago

All Submissions:

Changes proposed in this Pull Request:

We can use the fact that a null standard disables linting to make sure that excluded files are considered as such earlier in the process.

Closes #75.

How to test the changes in this Pull Request:

  1. Add a file to the exclude list with an "Automatic" standard.
  2. Make sure there is no automatic configuration file to discover.
  3. Note that there should be no missing standard related errors.