{"action":"created","issue":{"url":"https://api.github.com/repos/neomake/neomake/issues/1850","repository_url":"https://api.github.com/repos/neomake/neomake","labels_url":"https://api.github.com/repos/neomake/neomake/issues/1850/labels{/name}","comments_url":"https://api.github.com/repos/neomake/neomake/issues/1850/comments","events_url":"https://api.github.com/repos/neomake/neomake/issues/1850/events","html_url":"https://github.com/neomake/neomake/issues/1850","id":296499685,"number":1850,"title":"ESLint should use \"--stdin\" for temporary files","user":{"login":"t0str","id":231959,"avatar_url":"https://avatars0.githubusercontent.com/u/231959?v=4","gravatar_id":"","url":"https://api.github.com/users/t0str","html_url":"https://github.com/t0str","followers_url":"https://api.github.com/users/t0str/followers","following_url":"https://api.github.com/users/t0str/following{/other_user}","gists_url":"https://api.github.com/users/t0str/gists{/gist_id}","starred_url":"https://api.github.com/users/t0str/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t0str/subscriptions","organizations_url":"https://api.github.com/users/t0str/orgs","repos_url":"https://api.github.com/users/t0str/repos","events_url":"https://api.github.com/users/t0str/events{/privacy}","received_events_url":"https://api.github.com/users/t0str/received_events","type":"User","site_admin":false},"labels":[{"id":147000420,"url":"https://api.github.com/repos/neomake/neomake/labels/bug","name":"bug","color":"fc2929","default":true},{"id":373425785,"url":"https://api.github.com/repos/neomake/neomake/labels/maker","name":"maker","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-12T19:41:15Z","updated_at":"2018-02-14T17:21:40Z","closed_at":null,"author_association":"NONE","body":"I recently started using ESLint on a project I work on. To manage the first influx of errors ESLint throws, I wanted to have an integration in neovim (running HEAD) that makes it easy for me to comb through all files and fix the error.\r\n\r\n### Expected\r\n\r\nBeing able to use neomake with ESLint in this fashion:\r\n```\r\ncall neomake#configure#automake('nw', 750)\r\n```\r\nor like this:\r\n```\r\ncall neomake#configure#automake({\r\n  \\ 'TextChanged': {},\r\n  \\ 'InsertLeave': {},\r\n  \\ 'BufWritePost': {'delay': 0},\r\n  \\ 'BufWinEnter': {},\r\n  \\ }, 500)\r\n```\r\n\r\n### Actual\r\n\r\nOpening a .js file works fine. As soon as any other event except `BufEnter` or `BufWritePost` ist triggered I get this in the location window:\r\n\r\n```\r\nsome_file_name_that_exists.js|| File ignored by default.  Use a negated ignore pattern (like \"--ignore-pattern '!<relative/path/to/filename>'\") to override.\r\n```\r\n\r\nAfter this, location window and the red crosses in the main editor window are gone. `:w` the file fixes the problem until the next time I trigger an event that is not save or open.\r\n\r\nIt works flawlessly if I configure it like this:\r\n\r\n```\r\nautocmd BufWritePost,BufEnter * Neomake\r\n```\r\n\r\n### NeomakeInfo\r\n\r\n#### Neomake debug information\r\n\r\nAsync support: 1\r\nCurrent filetype: javascript.jsx\r\nWindows: 0\r\n[shell, shellcmdflag, shellslash]:['/bin/bash', '-c', 0]\r\n\r\n##### Enabled makers\r\n\r\nFor the current filetype (\"javascript.jsx\", used with :Neomake):\r\n - eslint\r\n   - args: ['-f', 'compact']\r\n   - auto_enabled: 0\r\n   - cwd: '%:p:h'\r\n   - errorformat: '%E%f: line %l\\, col %c\\, Error - %m,%W%f: line %l\\, col %c\\, Warning - %m,%-G,%-G%*\\d problems%#'\r\n   - exe: '/private/path/node_modules/.bin/eslint'\r\nNOTE: you can define g:neomake_javascript_jsx_enabled_makers to configure it (or b:neomake_javascript_jsx_enabled_makers).\r\n\r\nDefault maker settings:\r\n - output_stream: 'both'\r\n - remove_invalid_entries: 0\r\n - buffer_output: 1\r\n\r\nFor the project (used with :Neomake!):\r\nNone.\r\nNOTE: you can define g:neomake_enabled_makers to configure it.\r\n\r\n##### Settings\r\n\r\n###### New-style (dict, overrides old-style)\r\n\r\n```\r\ng:neomake: {\r\n  'automake': {\r\n    'ignore_filetypes': ['startify'],\r\n    'events': {\r\n      'BufWritePost': {\r\n        'delay': 0,\r\n      },\r\n      'InsertLeave': {},\r\n      'BufWinEnter': {},\r\n      'TextChanged': {},\r\n    },\r\n  },\r\n  'automake_delay': 500,\r\n}\r\nb:neomake: unset\r\n```\r\n\r\n###### Old-style\r\n\r\n```\r\ng:neomake_javascript_enabled_makers = ['eslint']\r\ng:neomake_javascript_eslint_exe = '/private/path/node_modules/.bin/eslint'\r\ng:neomake_javascript_jsx_enabled_makers = ['eslint']\r\ng:neomake_javascript_jsx_eslint_exe = '/private/path/node_modules/.bin/eslint'\r\ng:neomake_place_signs = 1\r\ng:neomake_ruby_enabled_makers = ['mri', 'rubocop']\r\n\r\n```\r\n  makeprg=make\r\n\r\n\r\n#### :version\r\n\r\n```\r\nNVIM v0.2.3-688-g9e9e4431c\r\nBuild type: Release\r\nLuaJIT 2.0.5\r\nCompilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -I/tmp/neovim-20180212-5190-14wjv43/build/config -I/tmp/neovim-20180212-5190-14wjv43/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim-20180212-5190-14wjv43/build/src/nvim/auto -I/tmp/neovim-20180212-5190-14wjv43/build/include\r\nCompiled by ost@orianna.tostr.io\r\n\r\nFeatures: +acl +iconv +jemalloc +tui \r\nSee \":help feature-compile\"\r\n\r\n   system vimrc file: \"$VIM/sysinit.vim\"\r\n  fall-back for $VIM: \"/usr/local/Cellar/neovim/HEAD-9e9e443_1/share/nvim\"\r\n\r\nRun :checkhealth for more info\r\n```\r\n\r\n#### :messages\r\n\r\n```\r\nCopied Neomake info to clipboard (\"+).\r\n```"},"comment":{"url":"https://api.github.com/repos/neomake/neomake/issues/comments/365680600","html_url":"https://github.com/neomake/neomake/issues/1850#issuecomment-365680600","issue_url":"https://api.github.com/repos/neomake/neomake/issues/1850","id":365680600,"user":{"login":"t0str","id":231959,"avatar_url":"https://avatars0.githubusercontent.com/u/231959?v=4","gravatar_id":"","url":"https://api.github.com/users/t0str","html_url":"https://github.com/t0str","followers_url":"https://api.github.com/users/t0str/followers","following_url":"https://api.github.com/users/t0str/following{/other_user}","gists_url":"https://api.github.com/users/t0str/gists{/gist_id}","starred_url":"https://api.github.com/users/t0str/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t0str/subscriptions","organizations_url":"https://api.github.com/users/t0str/orgs","repos_url":"https://api.github.com/users/t0str/repos","events_url":"https://api.github.com/users/t0str/events{/privacy}","received_events_url":"https://api.github.com/users/t0str/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T17:21:40Z","updated_at":"2018-02-14T17:21:40Z","author_association":"NONE","body":"Adding the requested log file @blueyed \r\n\r\n[neomake.log](https://github.com/neomake/neomake/files/1725009/neomake.log)\r\n\r\n\r\n"}}
{"actor":{"display_login":"t0str"}}