{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-puppet-lint/issues/22","repository_url":"https://api.github.com/repos/AtomLinter/linter-puppet-lint","labels_url":"https://api.github.com/repos/AtomLinter/linter-puppet-lint/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-puppet-lint/issues/22/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-puppet-lint/issues/22/events","html_url":"https://github.com/AtomLinter/linter-puppet-lint/issues/22","id":110897321,"number":22,"title":"Feature request: Respect project's .puppet-lint.rc file settings","user":{"login":"egeland","id":1281379,"avatar_url":"https://avatars.githubusercontent.com/u/1281379?v=3","gravatar_id":"","url":"https://api.github.com/users/egeland","html_url":"https://github.com/egeland","followers_url":"https://api.github.com/users/egeland/followers","following_url":"https://api.github.com/users/egeland/following{/other_user}","gists_url":"https://api.github.com/users/egeland/gists{/gist_id}","starred_url":"https://api.github.com/users/egeland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egeland/subscriptions","organizations_url":"https://api.github.com/users/egeland/orgs","repos_url":"https://api.github.com/users/egeland/repos","events_url":"https://api.github.com/users/egeland/events{/privacy}","received_events_url":"https://api.github.com/users/egeland/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-10-12T01:39:52Z","updated_at":"2016-08-27T15:12:12Z","closed_at":null,"body":"It would be great if the check would let a local `.puppet-lint.rc` file over-ride the global settings, so per-project rules could be easily set.\r\n\r\nThis way, if in your global config, you have (for example) `--no-80chars-check` set, but a project has this check active, you'll follow the project's style, not your own default."},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-puppet-lint/issues/comments/242922731","html_url":"https://github.com/AtomLinter/linter-puppet-lint/issues/22#issuecomment-242922731","issue_url":"https://api.github.com/repos/AtomLinter/linter-puppet-lint/issues/22","id":242922731,"user":{"login":"mschuchard","id":8029687,"avatar_url":"https://avatars.githubusercontent.com/u/8029687?v=3","gravatar_id":"","url":"https://api.github.com/users/mschuchard","html_url":"https://github.com/mschuchard","followers_url":"https://api.github.com/users/mschuchard/followers","following_url":"https://api.github.com/users/mschuchard/following{/other_user}","gists_url":"https://api.github.com/users/mschuchard/gists{/gist_id}","starred_url":"https://api.github.com/users/mschuchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschuchard/subscriptions","organizations_url":"https://api.github.com/users/mschuchard/orgs","repos_url":"https://api.github.com/users/mschuchard/repos","events_url":"https://api.github.com/users/mschuchard/events{/privacy}","received_events_url":"https://api.github.com/users/mschuchard/received_events","type":"User","site_admin":false},"created_at":"2016-08-27T15:12:12Z","updated_at":"2016-08-27T15:12:12Z","body":"So I took another look at the puppet-lint source code:\r\n\r\nhttps://github.com/rodjek/puppet-lint/blob/master/lib/puppet-lint/optparser.rb#L28-L30\r\nhttps://github.com/rodjek/puppet-lint/blob/master/lib/puppet-lint/optparser.rb#L117-L124\r\n\r\nThis means that puppet-lint is appending options from the `-c`, the `/etc`, the `~`, and the `.` directories in that order. There seems to be no way to override config files given the source code. Would you be interested in a `-c` option to the config to append options? I think that is the best you are going to get with the source code the way it is."}}
{"actor":{"display_login":"mschuchard"}}