{"action":"created","issue":{"url":"https://api.github.com/repos/okonet/lint-staged/issues/41","repository_url":"https://api.github.com/repos/okonet/lint-staged","labels_url":"https://api.github.com/repos/okonet/lint-staged/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/okonet/lint-staged/issues/41/comments","events_url":"https://api.github.com/repos/okonet/lint-staged/issues/41/events","html_url":"https://github.com/okonet/lint-staged/issues/41","id":169476543,"number":41,"title":"Work in subdirectory","user":{"login":"ai","id":19343,"avatar_url":"https://avatars.githubusercontent.com/u/19343?v=3","gravatar_id":"","url":"https://api.github.com/users/ai","html_url":"https://github.com/ai","followers_url":"https://api.github.com/users/ai/followers","following_url":"https://api.github.com/users/ai/following{/other_user}","gists_url":"https://api.github.com/users/ai/gists{/gist_id}","starred_url":"https://api.github.com/users/ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ai/subscriptions","organizations_url":"https://api.github.com/users/ai/orgs","repos_url":"https://api.github.com/users/ai/repos","events_url":"https://api.github.com/users/ai/events{/privacy}","received_events_url":"https://api.github.com/users/ai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-04T21:21:23Z","updated_at":"2016-08-24T19:18:50Z","closed_at":null,"body":"@okonet thanks for awesome project.\r\n\r\nWe already add it for ESLint but have some strange issues with Stylelint. Sorry, I don’t know where I should look more.\r\n\r\npackage.json:\r\n\r\n```js\r\n  \"scripts\": {\r\n    \"lint:css\": \"stylelint\",\r\n    \"lint:js\":  \"eslint\",\r\n    \"build\":    \"gulp build\",\r\n    \"test\":     \"gulp\"\r\n  },\r\n  \"pre-commit\": \"lint-staged\",\r\n  \"lint-staged\": {\r\n    \"*.sss\": \"lint:css\",\r\n    \"*.js\":  \"lint:js\"\r\n  }\r\n```\r\n\r\nWhen I add any `.sss` file to stage and run `lint-stage` I get:\r\n\r\n```\r\nError: Files glob patterns specified did not match any files\r\n    at /home/ai/Dev/amplifr/front/node_modules/stylelint/dist/standalone.js:83:19\r\n😱  lint:css found some issues. Fix them and try again.\r\n```\r\n\r\nBut when I run same stylelint script manually — `npm run -s lint:css -- blocks/plan-viewport/plan-viewport.sss`, everything works fine :-/"},"comment":{"url":"https://api.github.com/repos/okonet/lint-staged/issues/comments/242178083","html_url":"https://github.com/okonet/lint-staged/issues/41#issuecomment-242178083","issue_url":"https://api.github.com/repos/okonet/lint-staged/issues/41","id":242178083,"user":{"login":"ai","id":19343,"avatar_url":"https://avatars.githubusercontent.com/u/19343?v=3","gravatar_id":"","url":"https://api.github.com/users/ai","html_url":"https://github.com/ai","followers_url":"https://api.github.com/users/ai/followers","following_url":"https://api.github.com/users/ai/following{/other_user}","gists_url":"https://api.github.com/users/ai/gists{/gist_id}","starred_url":"https://api.github.com/users/ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ai/subscriptions","organizations_url":"https://api.github.com/users/ai/orgs","repos_url":"https://api.github.com/users/ai/repos","events_url":"https://api.github.com/users/ai/events{/privacy}","received_events_url":"https://api.github.com/users/ai/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T19:18:50Z","updated_at":"2016-08-24T19:18:50Z","body":"@okonet I tested `lint-staged` by manually run `./node_modules/.bin/lint-staged` in project (in `front/` subdir). We could create a issue for `pre-commit` too."}}
{"actor":{"display_login":"ai"}}