{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/web-ext/issues/398","repository_url":"https://api.github.com/repos/mozilla/web-ext","labels_url":"https://api.github.com/repos/mozilla/web-ext/issues/398/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/web-ext/issues/398/comments","events_url":"https://api.github.com/repos/mozilla/web-ext/issues/398/events","html_url":"https://github.com/mozilla/web-ext/issues/398","id":168366999,"number":398,"title":"Show an error when passing an argument to the lint command","user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars.githubusercontent.com/u/55398?v=3","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-29T16:47:47Z","updated_at":"2016-09-02T17:51:01Z","closed_at":null,"body":"If you run `web-ext lint ./some-file.xpi` then it will not lint `some-file.xpi`. It ignores command arguments. However, the `addons-linter` accepts arguments so this could be confusing. We should raise an error if an argument is given.\r\n\r\nSee https://github.com/mozilla/web-ext/issues/396"},"comment":{"url":"https://api.github.com/repos/mozilla/web-ext/issues/comments/244443649","html_url":"https://github.com/mozilla/web-ext/issues/398#issuecomment-244443649","issue_url":"https://api.github.com/repos/mozilla/web-ext/issues/398","id":244443649,"user":{"login":"shubheksha","id":7693422,"avatar_url":"https://avatars.githubusercontent.com/u/7693422?v=3","gravatar_id":"","url":"https://api.github.com/users/shubheksha","html_url":"https://github.com/shubheksha","followers_url":"https://api.github.com/users/shubheksha/followers","following_url":"https://api.github.com/users/shubheksha/following{/other_user}","gists_url":"https://api.github.com/users/shubheksha/gists{/gist_id}","starred_url":"https://api.github.com/users/shubheksha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubheksha/subscriptions","organizations_url":"https://api.github.com/users/shubheksha/orgs","repos_url":"https://api.github.com/users/shubheksha/repos","events_url":"https://api.github.com/users/shubheksha/events{/privacy}","received_events_url":"https://api.github.com/users/shubheksha/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T17:51:01Z","updated_at":"2016-09-02T17:51:01Z","body":"Sorry for the delay in replying! Once again, thank you for such a clear and detailed explanation. :smile: \r\nI understood everything you said, however I am kinda confused about the last line -- if we remove the everything from the `_` array property, how will we get the the directory to lint? Isn't that being assigned to the `sourceDir` here to accomplish that? Or do we need to mimic that behavior without using the `_` array property? "}}
{"actor":{"display_login":"shubheksha"}}