{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/20398","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/20398/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/20398/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/20398/events","html_url":"https://github.com/dotnet/roslyn/issues/20398","id":237923995,"number":20398,"title":"Support for .editorconfig csharp_trim_trailing_whitespace","user":{"login":"jnm2","id":8040367,"avatar_url":"https://avatars1.githubusercontent.com/u/8040367?v=3","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-06-22T17:52:08Z","updated_at":"2017-06-22T18:49:33Z","closed_at":null,"body":"Trimming trailing whitespace has been particularly important for me any time git diffs are involved. Depending on the codebase you're working in, you either *really* want this forced on or *really* want this forced off.\r\n\r\nThe problem is that `trim_trailing_whitespace` is not C#-safe. As far as I know the only possible conflict is with multiline verbatim strings.\r\n\r\nI really need a C#-safe trim-on-save for some codebases. Could we have a `csharp_trim_trailing_whitespace`?\r\n\r\nEven better, there should probably even be an editor warning if you're using `trim_trailing_whitespace` and a suggestion to switch to `csharp_trim_trailing_whitespace`."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/310469220","html_url":"https://github.com/dotnet/roslyn/issues/20398#issuecomment-310469220","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/20398","id":310469220,"user":{"login":"jnm2","id":8040367,"avatar_url":"https://avatars1.githubusercontent.com/u/8040367?v=3","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"created_at":"2017-06-22T18:49:33Z","updated_at":"2017-06-22T18:49:33Z","body":"> Really comes down to wondering whether most existing .editorconfig implementations handled the string to Boolean conversion by comparing equal to \"true\" or comparing not equal to \"false\".\r\n\r\nI would hope that they would completely ignore any line that isn't parseable."}}
{"actor":{"display_login":"jnm2"}}