{"action":"created","issue":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/1185","repository_url":"https://api.github.com/repos/stylelint/stylelint","labels_url":"https://api.github.com/repos/stylelint/stylelint/issues/1185/labels{/name}","comments_url":"https://api.github.com/repos/stylelint/stylelint/issues/1185/comments","events_url":"https://api.github.com/repos/stylelint/stylelint/issues/1185/events","html_url":"https://github.com/stylelint/stylelint/issues/1185","id":153091130,"number":1185,"title":"Can't inline disable a lint rule set by and extended config set","user":{"login":"jonrohan","id":54012,"avatar_url":"https://avatars.githubusercontent.com/u/54012?v=3","gravatar_id":"","url":"https://api.github.com/users/jonrohan","html_url":"https://github.com/jonrohan","followers_url":"https://api.github.com/users/jonrohan/followers","following_url":"https://api.github.com/users/jonrohan/following{/other_user}","gists_url":"https://api.github.com/users/jonrohan/gists{/gist_id}","starred_url":"https://api.github.com/users/jonrohan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonrohan/subscriptions","organizations_url":"https://api.github.com/users/jonrohan/orgs","repos_url":"https://api.github.com/users/jonrohan/repos","events_url":"https://api.github.com/users/jonrohan/events{/privacy}","received_events_url":"https://api.github.com/users/jonrohan/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-04T19:08:09Z","updated_at":"2016-05-04T19:08:44Z","closed_at":null,"body":"> Describe the issue. Is it a bug or a feature request (new rule, new option, etc.)?\r\n\r\nI'm trying to disable a lint error with an inline `stylelint-disable` and it's not disabling it. From what I can tell this is happening because my rule is in the extended `stylelint-config-standard`\r\n\r\n> Which rule, if any, is this issue related to?\r\n\r\n`declaration-block-no-ignored-properties`\r\n\r\n> What CSS is needed to reproduce this issue?\r\n\r\n```css\r\n.column {\r\n  /* disable reason */\r\n  /* stylelint-disable declaration-block-no-ignored-properties */\r\n  display: inline-block;\r\n  float: none;\r\n  /* stylelint-enable declaration-block-no-ignored-properties */\r\n}\r\n```\r\n\r\n> What stylelint configuration is needed to reproduce this issue?\r\n\r\ne.g.\r\n\r\n```json\r\n{\r\n  \"extends\": \"stylelint-config-standard\",\r\n  \"rules\": {\r\n    \"stylelint-disable-reason\": \"always-before\"\r\n  }\r\n}\r\n```\r\n\r\n> Which version of stylelint are you using?\r\n\r\n`6.2.2`\r\n\r\n> How are you running stylelint: CLI, PostCSS plugin, Node API?\r\n\r\nI'm seeing this behavior through both CLI\r\n\r\n`bin/stylelint \"app/assets/stylesheets/**/*.scss\" --config app/assets/stylesheets/.stylelintrc --syntax scss`\r\n\r\nAnd the atom linter-stylelint plugin https://atom.io/packages/linter-stylelint\r\n\r\n> Does your issue relate to non-standard syntax (e.g. SCSS, nesting, etc.)?\r\n\r\nI'm using scss syntax\r\n\r\n> What did you expect to happen?\r\n\r\nNo warnings\r\n\r\n> What actually happened (e.g. what warnings or errors you are getting)?\r\n\r\nI got the `declaration-block-no-ignored-properties` warning\r\n\r\n```shell\r\n❯ bin/stylelint \"app/assets/stylesheets/**/*.scss\" --config app/assets/stylesheets/.stylelintrc --syntax scss\r\n\r\napp/assets/stylesheets/custom/site/utilities.scss\r\n 27:5  ✖  Unexpected property \"float\" that is ignored because of \"display: inline-block\"   declaration-block-no-ignored-properties\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/stylelint/stylelint/issues/comments/216969544","html_url":"https://github.com/stylelint/stylelint/issues/1185#issuecomment-216969544","issue_url":"https://api.github.com/repos/stylelint/stylelint/issues/1185","id":216969544,"user":{"login":"jonrohan","id":54012,"avatar_url":"https://avatars.githubusercontent.com/u/54012?v=3","gravatar_id":"","url":"https://api.github.com/users/jonrohan","html_url":"https://github.com/jonrohan","followers_url":"https://api.github.com/users/jonrohan/followers","following_url":"https://api.github.com/users/jonrohan/following{/other_user}","gists_url":"https://api.github.com/users/jonrohan/gists{/gist_id}","starred_url":"https://api.github.com/users/jonrohan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonrohan/subscriptions","organizations_url":"https://api.github.com/users/jonrohan/orgs","repos_url":"https://api.github.com/users/jonrohan/repos","events_url":"https://api.github.com/users/jonrohan/events{/privacy}","received_events_url":"https://api.github.com/users/jonrohan/received_events","type":"User","site_admin":true},"created_at":"2016-05-04T19:08:44Z","updated_at":"2016-05-04T19:08:44Z","body":"While writing this report I noticed that having `\"stylelint-disable-reason\": \"always-before\"` also in the config is what breaks it. When it's only the extend, it's not broken."}}