Stuart Knightley

Results 34 comments of Stuart Knightley

Thanks for the PR! Would you be able to add some tests please? And also, would you update the Readme with an example for a `.vue` file and the caveats...

If it understand the linked comment correctly, the newline must be in-between the comment and the first line, rather than _within_ the comment itself. Maybe I'm misunderstanding though?

Afraid I don't use Vue, so have some questions: * Does eslint work with .vue files? (I guess yes if you're asking this question) * This plugin just checks strings,...

Afraid I don't have time to look into this. I would appreciate a PR to fix!

Hmm, this is tricky... generally the copyright statement should be the first thing in the file. It also appears that the `@flow` comment does not *have* to be the first...

@silvenon ah I see! I wonder if we can actually special case a few comments. The one that come to mind are `@flow`, `eslint-env *.` and `eslint-disable .*`. If the...

It looks like the new [eslint suggestions feature](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions) would help with this. When a leading comment is found we could suggest either adding the header before the existing comment or...

That sounds like a bug! Do you have the `lineEndings` option set, and/or are you alternating between Windows and Linux/Mac? I can see how this behaviour might happen in those...

Hey Simon! Yeah, I agree they're a bit generic, mainly because I didn't put in the effort to make them better! One thing that seems ideal would be to use...