{"action":"created","issue":{"url":"https://api.github.com/repos/xpol/linter-luacheck/issues/3","labels_url":"https://api.github.com/repos/xpol/linter-luacheck/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/xpol/linter-luacheck/issues/3/comments","events_url":"https://api.github.com/repos/xpol/linter-luacheck/issues/3/events","html_url":"https://github.com/xpol/linter-luacheck/issues/3","id":93884080,"number":3,"title":"Configuration file (.luacheckrc)","user":{"login":"kankaristo","id":3522333,"avatar_url":"https://avatars.githubusercontent.com/u/3522333?v=3","gravatar_id":"","url":"https://api.github.com/users/kankaristo","html_url":"https://github.com/kankaristo","followers_url":"https://api.github.com/users/kankaristo/followers","following_url":"https://api.github.com/users/kankaristo/following{/other_user}","gists_url":"https://api.github.com/users/kankaristo/gists{/gist_id}","starred_url":"https://api.github.com/users/kankaristo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kankaristo/subscriptions","organizations_url":"https://api.github.com/users/kankaristo/orgs","repos_url":"https://api.github.com/users/kankaristo/repos","events_url":"https://api.github.com/users/kankaristo/events{/privacy}","received_events_url":"https://api.github.com/users/kankaristo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-08T20:31:27Z","updated_at":"2015-07-11T18:12:37Z","closed_at":null,"body":"Most linters allow a project specific configuration file. Could `linter-luacheck` use `.luacheckrc` from the project's root directory? If that file isn't found, it could use `~/.atom/.luacheckrc` as a fallback.\r\n\r\nI noticed that there are config options for global variables and warnings to ignore, but I think that it's very important that these are project-specific, not user-specific. Looking for a config file in the project directory would allow this.\r\n\r\nThe config file would also allow for more detailed configuration, like ignoring a warning only for a specific file or path, etc.\r\n\r\n`luacheck` is very noisy by default, and it's not very useful without a configuration file..."},"comment":{"url":"https://api.github.com/repos/xpol/linter-luacheck/issues/comments/120650329","html_url":"https://github.com/xpol/linter-luacheck/issues/3#issuecomment-120650329","issue_url":"https://api.github.com/repos/xpol/linter-luacheck/issues/3","id":120650329,"user":{"login":"kankaristo","id":3522333,"avatar_url":"https://avatars.githubusercontent.com/u/3522333?v=3","gravatar_id":"","url":"https://api.github.com/users/kankaristo","html_url":"https://github.com/kankaristo","followers_url":"https://api.github.com/users/kankaristo/followers","following_url":"https://api.github.com/users/kankaristo/following{/other_user}","gists_url":"https://api.github.com/users/kankaristo/gists{/gist_id}","starred_url":"https://api.github.com/users/kankaristo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kankaristo/subscriptions","organizations_url":"https://api.github.com/users/kankaristo/orgs","repos_url":"https://api.github.com/users/kankaristo/repos","events_url":"https://api.github.com/users/kankaristo/events{/privacy}","received_events_url":"https://api.github.com/users/kankaristo/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T18:12:37Z","updated_at":"2015-07-11T18:12:37Z","body":"Now it's working with `linter-luacheck` if I give it the `cwd` option. :)"}}