{"action":"created","issue":{"url":"https://api.github.com/repos/zeke/standard-markdown/issues/4","repository_url":"https://api.github.com/repos/zeke/standard-markdown","labels_url":"https://api.github.com/repos/zeke/standard-markdown/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/zeke/standard-markdown/issues/4/comments","events_url":"https://api.github.com/repos/zeke/standard-markdown/issues/4/events","html_url":"https://github.com/zeke/standard-markdown/pull/4","id":170088782,"number":4,"title":"[WIP] Implement a formatter to automatically fix common errors","user":{"login":"MarshallOfSound","id":6634592,"avatar_url":"https://avatars.githubusercontent.com/u/6634592?v=3","gravatar_id":"","url":"https://api.github.com/users/MarshallOfSound","html_url":"https://github.com/MarshallOfSound","followers_url":"https://api.github.com/users/MarshallOfSound/followers","following_url":"https://api.github.com/users/MarshallOfSound/following{/other_user}","gists_url":"https://api.github.com/users/MarshallOfSound/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallOfSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallOfSound/subscriptions","organizations_url":"https://api.github.com/users/MarshallOfSound/orgs","repos_url":"https://api.github.com/users/MarshallOfSound/repos","events_url":"https://api.github.com/users/MarshallOfSound/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallOfSound/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-09T06:04:05Z","updated_at":"2016-08-09T09:46:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zeke/standard-markdown/pulls/4","html_url":"https://github.com/zeke/standard-markdown/pull/4","diff_url":"https://github.com/zeke/standard-markdown/pull/4.diff","patch_url":"https://github.com/zeke/standard-markdown/pull/4.patch"},"body":"This PR adds the `--auto-fix` option to the CLI interface that will automatically attempt to parse and fix JS standard syntax errors.\r\n\r\n```bash\r\nstandard-markdown docs --auto-fix\r\n```\r\n\r\nIt's currently working quite nicely and has a *dry run* method as well that will not overwrite files but write them to a temporary subdirectory `${cwd}_dry_run`.\r\n\r\nFixes #1 \r\n\r\n/cc @zeke "},"comment":{"url":"https://api.github.com/repos/zeke/standard-markdown/issues/comments/238505439","html_url":"https://github.com/zeke/standard-markdown/pull/4#issuecomment-238505439","issue_url":"https://api.github.com/repos/zeke/standard-markdown/issues/4","id":238505439,"user":{"login":"MarshallOfSound","id":6634592,"avatar_url":"https://avatars.githubusercontent.com/u/6634592?v=3","gravatar_id":"","url":"https://api.github.com/users/MarshallOfSound","html_url":"https://github.com/MarshallOfSound","followers_url":"https://api.github.com/users/MarshallOfSound/followers","following_url":"https://api.github.com/users/MarshallOfSound/following{/other_user}","gists_url":"https://api.github.com/users/MarshallOfSound/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallOfSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallOfSound/subscriptions","organizations_url":"https://api.github.com/users/MarshallOfSound/orgs","repos_url":"https://api.github.com/users/MarshallOfSound/repos","events_url":"https://api.github.com/users/MarshallOfSound/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallOfSound/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T09:46:06Z","updated_at":"2016-08-09T09:46:06Z","body":"As a summary of changes from https://github.com/zeke/standard-markdown/pull/4/commits/1261fb5c43474f884e9dc45535627feee3e67296\r\n\r\n* Modularized the formatting and linting components into logical files\r\n* The formatter now runs the linter after formatting\r\n* The linter now has the same progress feature the formatter has\r\n* The linter now displays total errors as the final step before terminating\r\n* The linters output is now a bit nicer and easier to read\r\n\r\nTLDR: Adding the formatter made the code messy and a large single file so I modularized it"}}
{"actor":{"display_login":"MarshallOfSound"}}