{"action":"opened","issue":{"url":"https://api.github.com/repos/css-modules/icss/issues/9","repository_url":"https://api.github.com/repos/css-modules/icss","labels_url":"https://api.github.com/repos/css-modules/icss/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/css-modules/icss/issues/9/comments","events_url":"https://api.github.com/repos/css-modules/icss/issues/9/events","html_url":"https://github.com/css-modules/icss/issues/9","id":181930984,"number":9,"title":"RFC: Require imports to appear before they are used","user":{"login":"DanielHeath","id":47430,"avatar_url":"https://avatars.githubusercontent.com/u/47430?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielHeath","html_url":"https://github.com/DanielHeath","followers_url":"https://api.github.com/users/DanielHeath/followers","following_url":"https://api.github.com/users/DanielHeath/following{/other_user}","gists_url":"https://api.github.com/users/DanielHeath/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielHeath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielHeath/subscriptions","organizations_url":"https://api.github.com/users/DanielHeath/orgs","repos_url":"https://api.github.com/users/DanielHeath/repos","events_url":"https://api.github.com/users/DanielHeath/events{/privacy}","received_events_url":"https://api.github.com/users/DanielHeath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-10T03:13:18Z","updated_at":"2016-10-10T03:13:18Z","closed_at":null,"body":"The current spec as written requires a backtracking parser, as it does not enforce that imports appear before they are used.\r\n\r\nWriting a backtracking parser is significantly more work than writing a single-pass parser, and this makes implementing compatible tools harder.\r\n\r\nI propose that the spec be amended to state that `:import` applies from that point in the file to the end of the file and does not modify anything earlier in the file."}}
{"actor":{"display_login":"DanielHeath"}}