{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/9929","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/9929/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/9929/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/9929/events","html_url":"https://github.com/eslint/eslint/issues/9929","id":294113624,"number":9929,"title":"Support the `default` JSON Schema keyword","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"labels":[{"id":82922548,"url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8","default":false},{"id":255319420,"url":"https://api.github.com/repos/eslint/eslint/labels/evaluating","name":"evaluating","color":"fef2c0","default":false},{"id":253473350,"url":"https://api.github.com/repos/eslint/eslint/labels/feature","name":"feature","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-03T14:11:49Z","updated_at":"2018-02-11T06:14:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Would be nice to be able to specify default values for the rule options in the schema.\r\n\r\nSee: https://github.com/epoberezkin/ajv#assigning-defaults\r\n\r\nI think all you have to do is to set the `useDefaults: true` option in https://github.com/eslint/eslint/blob/2af94466fe8f87058fad4bd168958d2a7612a79d/lib/util/ajv.js#L18-L23"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/364725402","html_url":"https://github.com/eslint/eslint/issues/9929#issuecomment-364725402","issue_url":"https://api.github.com/repos/eslint/eslint/issues/9929","id":364725402,"user":{"login":"platinumazure","id":284282,"avatar_url":"https://avatars0.githubusercontent.com/u/284282?v=4","gravatar_id":"","url":"https://api.github.com/users/platinumazure","html_url":"https://github.com/platinumazure","followers_url":"https://api.github.com/users/platinumazure/followers","following_url":"https://api.github.com/users/platinumazure/following{/other_user}","gists_url":"https://api.github.com/users/platinumazure/gists{/gist_id}","starred_url":"https://api.github.com/users/platinumazure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platinumazure/subscriptions","organizations_url":"https://api.github.com/users/platinumazure/orgs","repos_url":"https://api.github.com/users/platinumazure/repos","events_url":"https://api.github.com/users/platinumazure/events{/privacy}","received_events_url":"https://api.github.com/users/platinumazure/received_events","type":"User","site_admin":false},"created_at":"2018-02-11T06:14:25Z","updated_at":"2018-02-11T06:14:25Z","author_association":"OWNER","body":"@not-an-aardvark Yes; but in particular I would also like to know if there's any part of the JSON Schema grammar where \"default\" used to mean a property or value of \"default\", but would now be a metadata property indicating a default value for the object/property described by the schema."}}
{"actor":{"display_login":"platinumazure"}}