{"action":"created","issue":{"url":"https://api.github.com/repos/olafurpg/scalafmt/issues/316","repository_url":"https://api.github.com/repos/olafurpg/scalafmt","labels_url":"https://api.github.com/repos/olafurpg/scalafmt/issues/316/labels{/name}","comments_url":"https://api.github.com/repos/olafurpg/scalafmt/issues/316/comments","events_url":"https://api.github.com/repos/olafurpg/scalafmt/issues/316/events","html_url":"https://github.com/olafurpg/scalafmt/issues/316","id":158863124,"number":316,"title":"More robust/standard configuration","user":{"login":"olafurpg","id":1408093,"avatar_url":"https://avatars.githubusercontent.com/u/1408093?v=3","gravatar_id":"","url":"https://api.github.com/users/olafurpg","html_url":"https://github.com/olafurpg","followers_url":"https://api.github.com/users/olafurpg/followers","following_url":"https://api.github.com/users/olafurpg/following{/other_user}","gists_url":"https://api.github.com/users/olafurpg/gists{/gist_id}","starred_url":"https://api.github.com/users/olafurpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olafurpg/subscriptions","organizations_url":"https://api.github.com/users/olafurpg/orgs","repos_url":"https://api.github.com/users/olafurpg/repos","events_url":"https://api.github.com/users/olafurpg/events{/privacy}","received_events_url":"https://api.github.com/users/olafurpg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/olafurpg/scalafmt/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/olafurpg/scalafmt/labels/up%20for%20debate","name":"up for debate","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/olafurpg/scalafmt/milestones/7","html_url":"https://github.com/olafurpg/scalafmt/milestones/0.2.7","labels_url":"https://api.github.com/repos/olafurpg/scalafmt/milestones/7/labels","id":1825208,"number":7,"title":"0.2.7","description":"","creator":{"login":"olafurpg","id":1408093,"avatar_url":"https://avatars.githubusercontent.com/u/1408093?v=3","gravatar_id":"","url":"https://api.github.com/users/olafurpg","html_url":"https://github.com/olafurpg","followers_url":"https://api.github.com/users/olafurpg/followers","following_url":"https://api.github.com/users/olafurpg/following{/other_user}","gists_url":"https://api.github.com/users/olafurpg/gists{/gist_id}","starred_url":"https://api.github.com/users/olafurpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olafurpg/subscriptions","organizations_url":"https://api.github.com/users/olafurpg/orgs","repos_url":"https://api.github.com/users/olafurpg/repos","events_url":"https://api.github.com/users/olafurpg/events{/privacy}","received_events_url":"https://api.github.com/users/olafurpg/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2016-06-14T06:53:01Z","updated_at":"2016-06-20T08:57:31Z","due_on":"2016-07-31T22:00:00Z","closed_at":null},"comments":19,"created_at":"2016-06-07T08:07:21Z","updated_at":"2016-06-20T14:58:31Z","closed_at":null,"body":"Following discussions on Gitter: https://gitter.im/olafurpg/scalafmt?at=5755e80492fc7c915f574b06\r\n\r\nThe current configuration is built on scopt and is quite hacky: https://olafurpg.github.io/scalafmt/#Configuration\r\nIt would be great to use a more standard syntax.\r\n\r\nRequirements:\r\n* Scala.js compatible\r\n* supports comments\r\n* not verbose\r\n* allows multiple configurations on same line, like `a=1;b=2`. See #315\r\n\r\nConsidered options:\r\n* [shocon](https://github.com/unicredit/shocon) seems like a perfect fit. @andreaTP, are there any docs/non-SNAPSHOT releases?\r\n* typesafe config: no Scala.js support.\r\n* http://oncue.github.io/knobs/: can't see Scala.js support.\r\n* YAML: Don't think there's any Scala.js implementation."},"comment":{"url":"https://api.github.com/repos/olafurpg/scalafmt/issues/comments/227167738","html_url":"https://github.com/olafurpg/scalafmt/issues/316#issuecomment-227167738","issue_url":"https://api.github.com/repos/olafurpg/scalafmt/issues/316","id":227167738,"user":{"login":"djspiewak","id":752,"avatar_url":"https://avatars.githubusercontent.com/u/752?v=3","gravatar_id":"","url":"https://api.github.com/users/djspiewak","html_url":"https://github.com/djspiewak","followers_url":"https://api.github.com/users/djspiewak/followers","following_url":"https://api.github.com/users/djspiewak/following{/other_user}","gists_url":"https://api.github.com/users/djspiewak/gists{/gist_id}","starred_url":"https://api.github.com/users/djspiewak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djspiewak/subscriptions","organizations_url":"https://api.github.com/users/djspiewak/orgs","repos_url":"https://api.github.com/users/djspiewak/repos","events_url":"https://api.github.com/users/djspiewak/events{/privacy}","received_events_url":"https://api.github.com/users/djspiewak/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T14:58:31Z","updated_at":"2016-06-20T14:58:31Z","body":"> I think that your strict subset of YAML is TOML 😉. The very fact that the spec is 84 pages long hints that YAML is not an easy, simple configuration language. At least, I'm very sure you wouldn't be able to make a simple parser implementation.\r\n\r\nMost of the spec deals with vagaries of recursive references and document splits and such.  Another large swath of the spec deals with the redundant syntaxes allowed (e.g. `:` vs `=`, where the latter is basically never used in idiomatic YAML).  I'm relatively certain that a spec covering the subset of YAML that people actually *use* (i.e. not the subset generated by Ruby's object marshaling) would be quite short.\r\n\r\nTOML isn't actually a YAML subset, so far as I can tell.  It's relatively close, but has a decent set of features which diverge (e.g. the `[key.subkey]` stuff)."}}
{"actor":{"display_login":"djspiewak"}}