benmatselby / sublime-phpcs

🔍 PHP CodeSniffer, PHP Coding Standard Fixer, Linter, and Mess Detector Support for Sublime Text
Other
812 stars 126 forks source link

Have any possibility to ignore some errors? #61

Closed brunowego closed 11 years ago

brunowego commented 11 years ago

I need ignore some errors like:

Closing brace must be on a line by itself Expected "if (...)\n"; found "if (...)" Each PHP statement must be on a line by itself

Is possible?

benmatselby commented 11 years ago

As it currently stands, no. I'd argue that if you want to do this, you actually want to define a custom standard and just use that in this plugin

http://pear.php.net/manual/en/package.php.php-codesniffer.coding-standard-tutorial.php

brunowego commented 11 years ago

Thanks Ben :+1: