{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/4787","labels_url":"https://api.github.com/repos/eslint/eslint/issues/4787/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/4787/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/4787/events","html_url":"https://github.com/eslint/eslint/issues/4787","id":123503853,"number":4787,"title":"how do i fix this import and export issue for sublime text?","user":{"login":"shaunstanislaus","id":1703530,"avatar_url":"https://avatars.githubusercontent.com/u/1703530?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunstanislaus","html_url":"https://github.com/shaunstanislaus","followers_url":"https://api.github.com/users/shaunstanislaus/followers","following_url":"https://api.github.com/users/shaunstanislaus/following{/other_user}","gists_url":"https://api.github.com/users/shaunstanislaus/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunstanislaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunstanislaus/subscriptions","organizations_url":"https://api.github.com/users/shaunstanislaus/orgs","repos_url":"https://api.github.com/users/shaunstanislaus/repos","events_url":"https://api.github.com/users/shaunstanislaus/events{/privacy}","received_events_url":"https://api.github.com/users/shaunstanislaus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-22T15:42:02Z","updated_at":"2015-12-22T17:04:46Z","closed_at":null,"body":"```bash\r\nshaunstanislaus@Master ~/workspace/react_tutorial/meteor_project/app/zzz (master*) $ eslint entrypoint.import.jsx\r\n\r\n/Users/shaunstanislaus/workspace/react_tutorial/meteor_project/app/zzz/entrypoint.import.jsx\r\n  5:2  error  Parsing error: 'import' and 'export' may appear only with 'sourceType: module'\r\n\r\n✖ 1 problem (1 error, 0 warnings)\r\n```\r\n\r\nhere is my ESLint user settings for sublime text 3 and below this setting is my .eslintrc.json\r\n```json\r\n            \"eslint\": {\r\n                \"@disable\": false,\r\n                \"args\": [],\r\n                \"env\": {\r\n                    \"amd\": true,\r\n                    \"applescript\": true,\r\n                    \"browser\": true,\r\n                    \"commonjs\": true,\r\n                    \"embertest\": true,\r\n                    \"es6\": true,\r\n                    \"jasmine\": true,\r\n                    \"jest\": true,\r\n                    \"jquery\": true,\r\n                    \"meteor\": true,\r\n                    \"mocha\": true,\r\n                    \"mongo\": true,\r\n                    \"nashorn\": true,\r\n                    \"node\": true,\r\n                    \"phantomjs\": true,\r\n                    \"prototypejs\": true,\r\n                    \"protractor\": true,\r\n                    \"qunit\": true,\r\n                    \"serviceworker\": true,\r\n                    \"shelljs\": true,\r\n                    \"webextensions\": true,\r\n                    \"worker\": true\r\n                },\r\n                \"excludes\": [],\r\n                \"parser\": \"babel-eslint\",\r\n                \"parserOptions\": {\r\n                    \"ecmaFeatures\": {\r\n                        \"jsx\": true,\r\n                        \"modules\": true\r\n                    },\r\n                    \"ecmaVersion\": 6,\r\n                    \"sourceType\": \"module\"\r\n                },\r\n                \"plugins\": [\r\n                    \"react\"\r\n                ],\r\n                \"rules\": {\r\n                    \"no-restricted-imports\": 1,\r\n                    \"react/display-name\": 1,\r\n                    \"react/forbid-prop-types\": 1,\r\n                    \"react/jsx-boolean-value\": 1,\r\n                    \"react/jsx-closing-bracket-location\": 1,\r\n                    \"react/jsx-curly-spacing\": 1,\r\n                    \"react/jsx-handler-names\": 1,\r\n                    \"react/jsx-indent-props\": 1,\r\n                    \"react/jsx-key\": 1,\r\n                    \"react/jsx-max-props-per-line\": 1,\r\n                    \"react/jsx-no-bind\": 1,\r\n                    \"react/jsx-no-duplicate-props\": 1,\r\n                    \"react/jsx-no-is-mounted\": 1,\r\n                    \"react/jsx-no-literals\": 1,\r\n                    \"react/jsx-no-undef\": 1,\r\n                    \"react/jsx-pascal-case\": 1,\r\n                    \"react/jsx-quotes\": 1,\r\n                    \"react/jsx-sort-prop-types\": 1,\r\n                    \"react/jsx-sort-props\": 1,\r\n                    \"react/jsx-uses-react\": 1,\r\n                    \"react/jsx-uses-vars\": 1,\r\n                    \"react/no-danger\": 1,\r\n                    \"react/no-deprecated\": 1,\r\n                    \"react/no-did-mount-set-state\": 1,\r\n                    \"react/no-did-update-set-state\": 1,\r\n                    \"react/no-direct-mutation-state\": 1,\r\n                    \"react/no-multi-comp\": 1,\r\n                    \"react/no-set-state\": 1,\r\n                    \"react/no-unknown-property\": 1,\r\n                    \"react/prefer-es6-class\": 1,\r\n                    \"react/prop-types\": 1,\r\n                    \"react/react-in-jsx-scope\": 1,\r\n                    \"react/require-extension\": 1,\r\n                    \"react/self-closing-comp\": 1,\r\n                    \"react/sort-comp\": 1,\r\n                    \"react/wrap-multilines\": 1\r\n                }\r\n            },\r\n```\r\n\r\n.eslintrc.json created with `eslint --init`\r\n```json\r\n{\r\n    \"rules\": {\r\n        \"indent\": [\r\n            2,\r\n            \"tab\"\r\n        ],\r\n        \"quotes\": [\r\n            2,\r\n            \"single\"\r\n        ],\r\n        \"linebreak-style\": [\r\n            2,\r\n            \"unix\"\r\n        ],\r\n        \"semi\": [\r\n            2,\r\n            \"always\"\r\n        ]\r\n    },\r\n    \"env\": {\r\n        \"es6\": true,\r\n        \"browser\": true\r\n    },\r\n    \"extends\": \"eslint:recommended\",\r\n    \"ecmaFeatures\": {\r\n        \"jsx\": true,\r\n        \"experimentalObjectRestSpread\": true\r\n    },\r\n    \"plugins\": [\r\n        \"react\"\r\n    ]\r\n}\r\n```\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29334997-how-do-i-fix-this-import-and-export-issue-for-sublime-text?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282608&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/166674802","html_url":"https://github.com/eslint/eslint/issues/4787#issuecomment-166674802","issue_url":"https://api.github.com/repos/eslint/eslint/issues/4787","id":166674802,"user":{"login":"shaunstanislaus","id":1703530,"avatar_url":"https://avatars.githubusercontent.com/u/1703530?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunstanislaus","html_url":"https://github.com/shaunstanislaus","followers_url":"https://api.github.com/users/shaunstanislaus/followers","following_url":"https://api.github.com/users/shaunstanislaus/following{/other_user}","gists_url":"https://api.github.com/users/shaunstanislaus/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunstanislaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunstanislaus/subscriptions","organizations_url":"https://api.github.com/users/shaunstanislaus/orgs","repos_url":"https://api.github.com/users/shaunstanislaus/repos","events_url":"https://api.github.com/users/shaunstanislaus/events{/privacy}","received_events_url":"https://api.github.com/users/shaunstanislaus/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T17:04:46Z","updated_at":"2015-12-22T17:04:46Z","body":"@btmills running both on sublime text 3 and terminal with the same results."}}