{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/530","repository_url":"https://api.github.com/repos/AtomLinter/linter-eslint","labels_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/530/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/530/events","html_url":"https://github.com/AtomLinter/linter-eslint/issues/530","id":147236726,"number":530,"title":"It underlines not only the part of the line that causes the warning/error, but the rest of the line as well","user":{"login":"darkred","id":723651,"avatar_url":"https://avatars.githubusercontent.com/u/723651?v=3","gravatar_id":"","url":"https://api.github.com/users/darkred","html_url":"https://github.com/darkred","followers_url":"https://api.github.com/users/darkred/followers","following_url":"https://api.github.com/users/darkred/following{/other_user}","gists_url":"https://api.github.com/users/darkred/gists{/gist_id}","starred_url":"https://api.github.com/users/darkred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkred/subscriptions","organizations_url":"https://api.github.com/users/darkred/orgs","repos_url":"https://api.github.com/users/darkred/repos","events_url":"https://api.github.com/users/darkred/events{/privacy}","received_events_url":"https://api.github.com/users/darkred/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-10T16:02:26Z","updated_at":"2016-04-11T22:37:45Z","closed_at":"2016-04-11T18:33:01Z","body":"_Using Atom 1.6.2 in win10 x64 with ESLint 2.7.0, linter 1.11.4 and linter-eslint 7.1.3._\r\n\r\nFor example this simple code:\r\n```\r\nvar foo = 1;   // test\r\nvar obj = { foo: 1 };   // test\r\nobj++;\r\n```\r\nESlint shows this:\r\n```\r\n 1:5   warning  'foo' is defined but never used      no-unused-vars\r\n  2:11  warning  There should be no space after '{'   object-curly-spacing\r\n  2:20  warning  There should be no space before '}'  object-curly-spacing\r\n```\r\nWell, the problem is that linter-eslint underlines not only the part that causes the warning/error, but the rest of the line as well, even including any inline comment in the end.\r\nThat is, instead of only underlining `foo` in line 1 and `{` and `}` in line 2. \r\nit underlines:\r\n![2016-04-11_164733](https://cloud.githubusercontent.com/assets/723651/14429221/34921e7e-0005-11e6-9098-900211518c79.png)\r\n\r\n\r\n\r\nThat's especially confusing when there are multiple warning/errors in the same line, like in line 2.\r\n\r\n----\r\n\r\nFor reference, linting the same file in SublimeText 3, using sublimelinter-eslint:\r\n![2016-04-11_164504](https://cloud.githubusercontent.com/assets/723651/14429233/3d0cad44-0005-11e6-94e2-20ae50e109b9.png)\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/comments/208594937","html_url":"https://github.com/AtomLinter/linter-eslint/issues/530#issuecomment-208594937","issue_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/530","id":208594937,"user":{"login":"IanVS","id":4616705,"avatar_url":"https://avatars.githubusercontent.com/u/4616705?v=3","gravatar_id":"","url":"https://api.github.com/users/IanVS","html_url":"https://github.com/IanVS","followers_url":"https://api.github.com/users/IanVS/followers","following_url":"https://api.github.com/users/IanVS/following{/other_user}","gists_url":"https://api.github.com/users/IanVS/gists{/gist_id}","starred_url":"https://api.github.com/users/IanVS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanVS/subscriptions","organizations_url":"https://api.github.com/users/IanVS/orgs","repos_url":"https://api.github.com/users/IanVS/repos","events_url":"https://api.github.com/users/IanVS/events{/privacy}","received_events_url":"https://api.github.com/users/IanVS/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T22:37:45Z","updated_at":"2016-04-11T22:37:45Z","body":"There is an [existing issue](https://github.com/eslint/eslint/issues/3307) at ESLint for this, that is accepted and on the backlog, meaning it's not on the top of our priority on the core team, but would be willing to accept a PR if someone wants to take the effort to submit one."}}