Eli White

Results 85 comments of Eli White

This would cause ESLint to be running on the file from `tmp`, right? Since eslint configs can be set using [overrides](https://eslint.org/docs/user-guide/configuring#configuration-based-on-glob-patterns), this could cause files to be linted with the...

Having the ability for this plugin to not pass a configuration file at all to the eslint binary seems like a great choice. I'd happily accept a PR.

The eslint format command can't read from stdin, it can only format files on disk. For this to be possible this plugin would need to write the file to some...

The formatter doesn't run on the buffer, it runs on the underlying file. If you save the file and then run the command to format it, it will format the...

I believe it would be possible by having a command that takes the buffer, writes it to a tmp file in the current directory, runs eslint on it, and copies...

Wow, thanks for digging into this! It sounds like there might be some work on the ESLint side to support this functionality. @s7726, I've also gone ahead and made you...

Hmm. Weird. What happens if you call `eslint --fix YOUR_FILE_PATH` from the cli?

I'm not sure, it sounds like it is likely something python is doing with file encodings. Feel free to open a PR if you are able to figure it out...

What operating system are you using? Does the error output provide a line number or stack trace or anything that can help track it down in the formatter? For these...

I would be happy to accept a pull request if someone can figure this out