Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Conversation

@admosity
Copy link

@admosity admosity commented Dec 5, 2015

  • custom htmlhint with new line json object stream format that is compliant with atom-linter fields
  • consume data faster by interfacing directly with BufferedNodeProcess
  • attempt to kill htmlhint process if pane is destroyed

Don't know if I'm committing blasphemy, but I'm loading up a slightly custom version of htmlhint that spits out atom-linter compliant objects and has fixes for #50 and #45. I might be doing something wrong with killing the last running htmlhint process.

  compliant with atom-linter fields
- consume data faster by interfacing directly with BufferedNodeProcess
- attempt to kill htmlhint process if pane is destroyed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not change to a different htmlhint. Add your custom changes directly to htmlhint. htmlhint moves pretty fast, I'd like to stay on the main repo.

@Arcanemagus
Copy link
Member

@admosity Are you still planning on working on this? I'm rather against a custom fork as well unless absolutely necessary.

@admosity
Copy link
Author

admosity commented Feb 6, 2016

@Arcanemagus I'm super swamped, otherwise I would. I also don't quite know a good way to go about doing this since the issue comes from atom's BufferedReader truncating input when it detects the subprocess exiting. HTMLHint itself uses process.exit which I believe sends out the signal before the I/O is flushed causing atom's BufferedReader to stop reading. I also haven't been able to produce a good test case in HTMLHint itself to warrant a fix: htmlhint/HTMLHint#101

@Arcanemagus
Copy link
Member

Closing this in favor of #112, which moves to using the Node API on the official repo. Thanks for putting the work into this though!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants