{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/6526","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/6526/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/6526/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/6526/events","html_url":"https://github.com/eslint/eslint/issues/6526","id":162094872,"number":6526,"title":"\"lines-around-comment\" and \"padded-blocks\" will be conflict ","user":{"login":"dawnwish","id":12173772,"avatar_url":"https://avatars.githubusercontent.com/u/12173772?v=3","gravatar_id":"","url":"https://api.github.com/users/dawnwish","html_url":"https://github.com/dawnwish","followers_url":"https://api.github.com/users/dawnwish/followers","following_url":"https://api.github.com/users/dawnwish/following{/other_user}","gists_url":"https://api.github.com/users/dawnwish/gists{/gist_id}","starred_url":"https://api.github.com/users/dawnwish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawnwish/subscriptions","organizations_url":"https://api.github.com/users/dawnwish/orgs","repos_url":"https://api.github.com/users/dawnwish/repos","events_url":"https://api.github.com/users/dawnwish/events{/privacy}","received_events_url":"https://api.github.com/users/dawnwish/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/evaluating","name":"evaluating","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-24T07:54:47Z","updated_at":"2016-06-24T09:38:01Z","closed_at":null,"body":"<!--\r\nThis template is for bug reports. If you are reporting a bug, please continue on. If you are here for another reason, please see below:\r\n\r\n1. To propose a new rule: http://eslint.org/docs/developer-guide/contributing/new-rules\r\n2. To request a change: http://eslint.org/docs/developer-guide/contributing/changes\r\n3. If you have any questions, please stop by our chatroom: https://gitter.im/eslint/eslint\r\n\r\nNote that leaving sections blank will make it difficult for us to troubleshoot and we may have to close the issue.\r\n-->\r\n\r\n**What version of ESLint are you using?**\r\n2.13.0\r\n\r\n**What parser (default, Babel-ESLint, etc.) are you using?**\r\nEspree\r\n\r\n**Please show your full configuration:**\r\n`{`\r\n`    \"root\": true,`\r\n`    \"extends\": \"airbnb\",`\r\n`    \"env\": {`\r\n`        \"browser\": true,`\r\n`        \"node\": true`\r\n`    },`\r\n`    \"rules\": {`\r\n`        \"lines-around-comment\": [2, { \"beforeBlockComment\": true, \"beforeLineComment\": true }],`\r\n`        \"padded-blocks\": [2, \"never\"]`\r\n`    }`\r\n`}`\r\n\r\n**What did you do? Please include the actual source code causing the issue.**\r\n`if (!accountInfo) {`\r\n`                   `\r\n`    // xxxxxxx`\r\n`    console.log('xxx');`\r\n`}`\r\n\r\n**What actually happened? Please include the actual, raw output from ESLint.**\r\nif i add the blank line before the comment, eslint show \r\n`padded-blocks Block must not be padded by blank lines.`\r\nbut if i remove it, eslint show\r\n`lines-around-comment Expected line before comment`\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/228302718","html_url":"https://github.com/eslint/eslint/issues/6526#issuecomment-228302718","issue_url":"https://api.github.com/repos/eslint/eslint/issues/6526","id":228302718,"user":{"login":"vitorbal","id":626038,"avatar_url":"https://avatars.githubusercontent.com/u/626038?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorbal","html_url":"https://github.com/vitorbal","followers_url":"https://api.github.com/users/vitorbal/followers","following_url":"https://api.github.com/users/vitorbal/following{/other_user}","gists_url":"https://api.github.com/users/vitorbal/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorbal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorbal/subscriptions","organizations_url":"https://api.github.com/users/vitorbal/orgs","repos_url":"https://api.github.com/users/vitorbal/repos","events_url":"https://api.github.com/users/vitorbal/events{/privacy}","received_events_url":"https://api.github.com/users/vitorbal/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T09:38:01Z","updated_at":"2016-06-24T09:38:01Z","body":"Thanks, @dawnwish! Just verified that this happens. I think it should be considered a bug that one rule “negates” the other like this, but I would like to have some more input from other members of the team before marking it as \"accepted\"."}}
{"actor":{"display_login":"vitorbal"}}