Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to force all errors to display, even within @codingStandardsIgnore sections #811

Closed
davidscotson opened this issue Dec 8, 2015 · 1 comment

Comments

@davidscotson
Copy link

If you're running CodeSniffer against code written by other people, you might want to get a full report of potential issues without giving them the ability to suppress any errors by using // @codingStandardsIgnore comments to skip files, or lines.

Reading through the docs there doesn't seem to be an override setting that allow this level of reporting.

@gsherwood
Copy link
Member

gsherwood commented Mar 2, 2017

I've added an --ignore-annotations CLI argument to ignore all @codingStandard... code comments. You can also set this value in a ruleset.xml file if you don't want to allow these annotations in your coding standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants