{"action":"created","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/986","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/986/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/986/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/986/events","html_url":"https://github.com/jscs-dev/node-jscs/issues/986","id":56150293,"number":986,"title":"Execution without options","user":{"login":"markelog","id":945528,"avatar_url":"https://avatars.githubusercontent.com/u/945528?v=3","gravatar_id":"","url":"https://api.github.com/users/markelog","html_url":"https://github.com/markelog","followers_url":"https://api.github.com/users/markelog/followers","following_url":"https://api.github.com/users/markelog/following{/other_user}","gists_url":"https://api.github.com/users/markelog/gists{/gist_id}","starred_url":"https://api.github.com/users/markelog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markelog/subscriptions","organizations_url":"https://api.github.com/users/markelog/orgs","repos_url":"https://api.github.com/users/markelog/repos","events_url":"https://api.github.com/users/markelog/events{/privacy}","received_events_url":"https://api.github.com/users/markelog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/cli","name":"cli","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-01T03:31:51Z","updated_at":"2015-06-08T04:00:41Z","closed_at":null,"body":"If project doesn't have jscs config and If jscs cli tool is executed without options but with path argument - `jscs <files>`. What should we do?\r\n\r\nTwo possible ways:\r\n1. Apply rules from \"default\" preset, like with `go fmt`, `standart` npm <a href=\"https://github.com/feross/standard\">package</a> or with python pep8 <a href=\"http://pep8.readthedocs.org/en/latest/intro.html\">tool</a>. While proposing to use auto-config option at the end of error list.\r\n2. Enable auto-config option by default.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8192214-execution-without-options?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/comments/109854379","html_url":"https://github.com/jscs-dev/node-jscs/issues/986#issuecomment-109854379","issue_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/986","id":109854379,"user":{"login":"markelog","id":945528,"avatar_url":"https://avatars.githubusercontent.com/u/945528?v=3","gravatar_id":"","url":"https://api.github.com/users/markelog","html_url":"https://github.com/markelog","followers_url":"https://api.github.com/users/markelog/followers","following_url":"https://api.github.com/users/markelog/following{/other_user}","gists_url":"https://api.github.com/users/markelog/gists{/gist_id}","starred_url":"https://api.github.com/users/markelog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markelog/subscriptions","organizations_url":"https://api.github.com/users/markelog/orgs","repos_url":"https://api.github.com/users/markelog/repos","events_url":"https://api.github.com/users/markelog/events{/privacy}","received_events_url":"https://api.github.com/users/markelog/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T04:00:41Z","updated_at":"2015-06-08T04:00:41Z","body":"Defining your own config is hard even if you define only online like `\"preset\": ...`, since you would need to know the rules of that preset or at least have basic idea.\r\n\r\nBut if we would use default preset, people wouldn't need to think about that stuff, they just would start working, this is main advantage of the https://github.com/feross/standard package, this is main reason why people used it, i think we should listen the community and plan accordingly "}}