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

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

Open
cithukyaw opened this issue Apr 14, 2016 · 3 comments

Comments

@cithukyaw
Copy link

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

@mikaeljorhult
Copy link
Owner

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).

@cithukyaw
Copy link
Author

Do you know how can I ignore it? Please!

@giovannefeitosa
Copy link
Contributor

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

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

No branches or pull requests

3 participants