{"action":"created","issue":{"url":"https://api.github.com/repos/roadhump/SublimeLinter-eslint/issues/101","labels_url":"https://api.github.com/repos/roadhump/SublimeLinter-eslint/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/roadhump/SublimeLinter-eslint/issues/101/comments","events_url":"https://api.github.com/repos/roadhump/SublimeLinter-eslint/issues/101/events","html_url":"https://github.com/roadhump/SublimeLinter-eslint/issues/101","id":116313595,"number":101,"title":"How to enable \"eslint:recommended\"","user":{"login":"darkred","id":723651,"avatar_url":"https://avatars.githubusercontent.com/u/723651?v=3","gravatar_id":"","url":"https://api.github.com/users/darkred","html_url":"https://github.com/darkred","followers_url":"https://api.github.com/users/darkred/followers","following_url":"https://api.github.com/users/darkred/following{/other_user}","gists_url":"https://api.github.com/users/darkred/gists{/gist_id}","starred_url":"https://api.github.com/users/darkred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkred/subscriptions","organizations_url":"https://api.github.com/users/darkred/orgs","repos_url":"https://api.github.com/users/darkred/repos","events_url":"https://api.github.com/users/darkred/events{/privacy}","received_events_url":"https://api.github.com/users/darkred/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-11T11:23:13Z","updated_at":"2015-11-11T11:30:05Z","closed_at":null,"body":"I'm using ST3 build 3083 (win10 x64) with SublimeLinter-eslint (I have installed eslint ok) \r\nand I would like to add this setting:\r\n```\r\n{\r\n    \"extends\": \"eslint:recommended\"\r\n}\r\n```\r\nI've tried adding it to Preferences|Package Settings|SublimeLinter|User - settings\r\n(which by default is empty)\r\nand then typed in a new javascript tab the code example from the [eslint demo](http://eslint.org/demo/), i.e.\r\n`var foo = bar;`\r\nand it doesn't find any errors.\r\n\r\nAccording to the demo it should find:\r\n```\r\n1:5 - \"foo\" is defined but never used (no-unused-vars)\r\n1:11 - \"bar\" is not defined. (no-undef)\r\n```\r\nbecause in [here](http://eslint.org/docs/rules/) it mentions that both `no-unused-vars` and `no-undef` are \"recommended\".\r\n\r\nThank you\r\n\r\n\r\nPS. The same happens if I add a `.eslintrc` file with the above entry inside a folder containing my javascript file. (based on issue #95 )\r\n"},"comment":{"url":"https://api.github.com/repos/roadhump/SublimeLinter-eslint/issues/comments/155740893","html_url":"https://github.com/roadhump/SublimeLinter-eslint/issues/101#issuecomment-155740893","issue_url":"https://api.github.com/repos/roadhump/SublimeLinter-eslint/issues/101","id":155740893,"user":{"login":"darkred","id":723651,"avatar_url":"https://avatars.githubusercontent.com/u/723651?v=3","gravatar_id":"","url":"https://api.github.com/users/darkred","html_url":"https://github.com/darkred","followers_url":"https://api.github.com/users/darkred/followers","following_url":"https://api.github.com/users/darkred/following{/other_user}","gists_url":"https://api.github.com/users/darkred/gists{/gist_id}","starred_url":"https://api.github.com/users/darkred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkred/subscriptions","organizations_url":"https://api.github.com/users/darkred/orgs","repos_url":"https://api.github.com/users/darkred/repos","events_url":"https://api.github.com/users/darkred/events{/privacy}","received_events_url":"https://api.github.com/users/darkred/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T11:30:05Z","updated_at":"2015-11-11T11:30:05Z","body":"Tools - SublimeLinter - Debug\r\n\r\n```\r\nDPI scale: 1\r\nstartup, version: 3083 windows x64 channel: stable\r\nexecutable: /C/Program Files/Sublime Text 3/sublime_text.exe\r\nworking dir: /C/Program Files/Sublime Text 3\r\npackages path: /C/Users/Kostas/AppData/Roaming/Sublime Text 3/Packages\r\nstate path: /C/Users/Kostas/AppData/Roaming/Sublime Text 3/Local\r\nzip path: /C/Program Files/Sublime Text 3/Packages\r\nzip path: /C/Users/Kostas/AppData/Roaming/Sublime Text 3/Installed Packages\r\nignored_packages: [\"SublimeLinter-jshint\", \"Vintage\"]\r\npre session restore time: 0.0846493\r\nstartup time: 0.106649\r\nfirst paint time: 0.112649\r\nreloading plugin Default.block\r\nreloading plugin Default.comment\r\nreloading plugin Default.copy_path\r\nreloading plugin Default.delete_word\r\nreloading plugin Default.detect_indentation\r\nreloading plugin Default.duplicate_line\r\nreloading plugin Default.echo\r\nreloading plugin Default.exec\r\nreloading plugin Default.fold\r\nreloading plugin Default.font\r\nreloading plugin Default.goto_line\r\nreloading plugin Default.history_list\r\nreloading plugin Default.indentation\r\nreloading plugin Default.kill_ring\r\nreloading plugin Default.mark\r\nreloading plugin Default.new_templates\r\nreloading plugin Default.open_context_url\r\nreloading plugin Default.open_file_settings\r\nreloading plugin Default.open_in_browser\r\nreloading plugin Default.pane\r\nreloading plugin Default.paragraph\r\nreloading plugin Default.paste_from_history\r\nreloading plugin Default.quick_panel\r\nreloading plugin Default.save_on_focus_lost\r\nreloading plugin Default.scroll\r\nreloading plugin Default.set_unsaved_view_name\r\nreloading plugin Default.side_bar\r\nreloading plugin Default.sort\r\nreloading plugin Default.swap_line\r\nreloading plugin Default.switch_file\r\nreloading plugin Default.symbol\r\nreloading plugin Default.transform\r\nreloading plugin Default.transpose\r\nreloading plugin Default.trim_trailing_white_space\r\nreloading plugin CSS.css_completions\r\nreloading plugin Diff.diff\r\nreloading plugin HTML.encode_html_entities\r\nreloading plugin HTML.html_completions\r\nreloading plugin 0_package_control_loader.00-package_control\r\nreloading plugin 0_package_control_loader.02-bz2\r\nreloading plugin BracketHighlighter.bh_core\r\nreloading plugin BracketHighlighter.bh_logging\r\nreloading plugin BracketHighlighter.bh_plugin\r\nreloading plugin BracketHighlighter.bh_regions\r\nreloading plugin BracketHighlighter.bh_remove\r\nreloading plugin BracketHighlighter.bh_rules\r\nreloading plugin BracketHighlighter.bh_search\r\nreloading plugin BracketHighlighter.bh_swapping\r\nreloading plugin BracketHighlighter.bh_wrapping\r\nreloading plugin DocBlockr.jsdocs\r\nreloading plugin Git.add\r\nreloading plugin Git.annotate\r\nreloading plugin Git.commit\r\nreloading plugin Git.diff\r\nreloading plugin Git.flow\r\nreloading plugin Git.git\r\nreloading plugin Git.history\r\nreloading plugin Git.repo\r\nreloading plugin Git.stash\r\nreloading plugin Git.status\r\nreloading plugin Git.statusbar\r\nreloading plugin Package Control.1_reloader\r\nreloading plugin Package Control.2_bootstrap\r\nreloading plugin Package Control.Package Control\r\nreloading plugin SideBarEnhancements.SideBar\r\nreloading plugin SideBarEnhancements.SideBarAPI\r\nreloading plugin SideBarEnhancements.SideBarDefaultDisable\r\nreloading plugin TrailingSpaces.trailing_spaces\r\nreloading plugin HTML-CSS-JS Prettify.HTMLPrettify\r\nreloading plugin SublimeCodeIntel.ordereddict\r\nreloading plugin SublimeCodeIntel.SublimeCodeIntel\r\nreloading plugin SublimeLinter.commands\r\nreloading plugin SublimeLinter.sublimelinter\r\nreloading plugin SublimeLinter-contrib-eslint.linter\r\nSublimeLinter: eslint linter loaded \r\nplugins loaded\r\nSublimeLinter: debug mode: on \r\nSublimeLinter: temp directory: c:\\users\\kostas\\appdata\\local\\temp\\SublimeLinter3-Kostas \r\nSublimeLinter: computed PATH from system:\r\nC:\\Program Files (x86)\\Intel\\iCLS Client\\\r\nC:\\Program Files\\Intel\\iCLS Client\\\r\nC:\\Windows\\system32\r\nC:\\Windows\r\nC:\\Windows\\System32\\Wbem\r\nC:\\Windows\\System32\\WindowsPowerShell\\v1.0\\\r\nC:\\WINDOWS\\system32\r\nC:\\WINDOWS\r\nC:\\WINDOWS\\System32\\Wbem\r\nC:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\\r\nC:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL\r\nC:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL\r\nC:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT\r\nC:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT\r\nC:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common\r\nC:\\Program Files (x86)\\Skype\\Phone\\\r\nC:\\WINDOWS\\system32\r\nC:\\WINDOWS\r\nC:\\WINDOWS\\System32\\Wbem\r\nC:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\\r\nC:\\Program Files\\nodejs\\\r\nC:\\Users\\Kostas\\AppData\\Local\\atom\\bin\r\nC:\\Users\\Kostas\\AppData\\Roaming\\npm\r\n \r\nSublimeLinter: chdir not set or invalid, using C:\\Program Files\\Sublime Text 3 \r\nSublimeLinter: eslint: <unsaved> ['C:\\\\Users\\\\Kostas\\\\AppData\\\\Roaming\\\\npm\\\\eslint.cmd', '--format', 'compact', '--stdin', '--stdin-filename', '__RELATIVE_TO_FOLDER__'] \r\nPackage Control: Skipping automatic upgrade, last run at 2015-11-11 12:48:59, next run at 2015-11-11 13:48:59 or after\r\n``` \r\n\r\nSo, I've tried adding\r\n\r\n```\r\n{\r\n    \"linters\": {\r\n        \"eslint\": {\r\n            \"args\": [\r\n                \"--stdin-filename\", \"@\"\r\n            ]\r\n        }\r\n    }\r\n}\r\n```\r\nin Preferences|Package Settings|SublimeLinter|User - settings\r\nbut it doesn't help"}}