brackets-php-code-quality-tools icon indicating copy to clipboard operation
brackets-php-code-quality-tools copied to clipboard

Showing a lot of CodeSniffers problems "Please trim any trailing whitespace"

Open cithukyaw opened this issue 8 years ago • 3 comments

I updated to 0.1.10. Then I got a lot of CS problems "Please trim any trailing whitespace". I have been using the two extensions Show Whitespace and White Space Sanitizer to remove trailing whitespaces. The first one visualizes the whitespaces and the latter remove them on file save. So, there is no trailing whitespaces to be trimmed.

Platform: Windows 7 Brackets Version: 1.6

635962541410083274

cithukyaw avatar Apr 14 '16 11:04 cithukyaw

My guess would be that it's the line break that is causing the message. For example PSR-2 requires each line to end with a Unix Line Feed (LF).

mikaeljorhult avatar May 11 '16 14:05 mikaeljorhult

Do you know how can I ignore it? Please!

cithukyaw avatar May 29 '16 10:05 cithukyaw

Maybe add a new option "ignore new line issues in CodeSniffer"

giovannefeitosa avatar May 31 '16 02:05 giovannefeitosa