{"action":"created","issue":{"url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/216","repository_url":"https://api.github.com/repos/Chiel92/vim-autoformat","labels_url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/216/comments","events_url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/216/events","html_url":"https://github.com/Chiel92/vim-autoformat/issues/216","id":270714088,"number":216,"title":"When both global and local eslint files exists autoformat uses global one","user":{"login":"breneser","id":5384578,"avatar_url":"https://avatars2.githubusercontent.com/u/5384578?v=4","gravatar_id":"","url":"https://api.github.com/users/breneser","html_url":"https://github.com/breneser","followers_url":"https://api.github.com/users/breneser/followers","following_url":"https://api.github.com/users/breneser/following{/other_user}","gists_url":"https://api.github.com/users/breneser/gists{/gist_id}","starred_url":"https://api.github.com/users/breneser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breneser/subscriptions","organizations_url":"https://api.github.com/users/breneser/orgs","repos_url":"https://api.github.com/users/breneser/repos","events_url":"https://api.github.com/users/breneser/events{/privacy}","received_events_url":"https://api.github.com/users/breneser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-11-02T16:13:08Z","updated_at":"2017-11-19T19:33:42Z","closed_at":null,"author_association":"NONE","body":"I have both global `~/.eslintrc.yml` which I use for all Javascript files configured with my preferences, also a project specific `.eslinrc.json` file which I was expecting to be overriding the global one.\r\n\r\nI use Syntastic with eslint and the behaviour seems to be as I expected, but autoformat always uses global eslint file instead of the local one. \r\n\r\nEslint itself when used through command line seems to work this way. \r\n\r\nIs this how autoformat works or is it just me ?"},"comment":{"url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/comments/345542965","html_url":"https://github.com/Chiel92/vim-autoformat/issues/216#issuecomment-345542965","issue_url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/216","id":345542965,"user":{"login":"breneser","id":5384578,"avatar_url":"https://avatars2.githubusercontent.com/u/5384578?v=4","gravatar_id":"","url":"https://api.github.com/users/breneser","html_url":"https://github.com/breneser","followers_url":"https://api.github.com/users/breneser/followers","following_url":"https://api.github.com/users/breneser/following{/other_user}","gists_url":"https://api.github.com/users/breneser/gists{/gist_id}","starred_url":"https://api.github.com/users/breneser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/breneser/subscriptions","organizations_url":"https://api.github.com/users/breneser/orgs","repos_url":"https://api.github.com/users/breneser/repos","events_url":"https://api.github.com/users/breneser/events{/privacy}","received_events_url":"https://api.github.com/users/breneser/received_events","type":"User","site_admin":false},"created_at":"2017-11-19T19:33:42Z","updated_at":"2017-11-19T19:33:42Z","author_association":"NONE","body":"Sorry for late reply @dc3671 \r\n\r\nYes If I use yaml file autoformat locates it correctly.\r\n\r\nThe global file's path is `/home/bren/.eslintrc.yml`\r\nThe local one is `/home/bren/projects/projectX/.eslintrc.json`"}}
{"actor":{"display_login":"breneser"}}