{"action":"created","issue":{"url":"https://api.github.com/repos/joshwnj/json-mode/issues/26","labels_url":"https://api.github.com/repos/joshwnj/json-mode/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/joshwnj/json-mode/issues/26/comments","events_url":"https://api.github.com/repos/joshwnj/json-mode/issues/26/events","html_url":"https://github.com/joshwnj/json-mode/issues/26","id":55015017,"number":26,"title":"Use json-reformat:indent-level for indenting on newline?","user":{"login":"ProjectMoon","id":183856,"avatar_url":"https://avatars.githubusercontent.com/u/183856?v=3","gravatar_id":"","url":"https://api.github.com/users/ProjectMoon","html_url":"https://github.com/ProjectMoon","followers_url":"https://api.github.com/users/ProjectMoon/followers","following_url":"https://api.github.com/users/ProjectMoon/following{/other_user}","gists_url":"https://api.github.com/users/ProjectMoon/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectMoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectMoon/subscriptions","organizations_url":"https://api.github.com/users/ProjectMoon/orgs","repos_url":"https://api.github.com/users/ProjectMoon/repos","events_url":"https://api.github.com/users/ProjectMoon/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectMoon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-21T12:58:18Z","updated_at":"2015-01-21T22:33:57Z","closed_at":null,"body":"Apparently the mode uses js-indent-level for indenting when you press newline, but json-reformat:indent-level when calling that format function. Then of course there's also js2-basic-offset. Lots of variables, a bit confusing. Maybe better to unify?"},"comment":{"url":"https://api.github.com/repos/joshwnj/json-mode/issues/comments/70935850","html_url":"https://github.com/joshwnj/json-mode/issues/26#issuecomment-70935850","issue_url":"https://api.github.com/repos/joshwnj/json-mode/issues/26","id":70935850,"user":{"login":"ProjectMoon","id":183856,"avatar_url":"https://avatars.githubusercontent.com/u/183856?v=3","gravatar_id":"","url":"https://api.github.com/users/ProjectMoon","html_url":"https://github.com/ProjectMoon","followers_url":"https://api.github.com/users/ProjectMoon/followers","following_url":"https://api.github.com/users/ProjectMoon/following{/other_user}","gists_url":"https://api.github.com/users/ProjectMoon/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjectMoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjectMoon/subscriptions","organizations_url":"https://api.github.com/users/ProjectMoon/orgs","repos_url":"https://api.github.com/users/ProjectMoon/repos","events_url":"https://api.github.com/users/ProjectMoon/events{/privacy}","received_events_url":"https://api.github.com/users/ProjectMoon/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T22:33:57Z","updated_at":"2015-01-21T22:33:57Z","body":"I don't see it really coming in anywhere, it's just another variable that might add to the confusion. Maybe another option would be a configuration option to tell which indent to inherit from. I use js2-mode for JavaScript development, and was using js-mode for JSON until I found this (simply because it's the default)."}}