BenoitZugmeyer / eslint-plugin-html

An ESLint plugin to extract and lint scripts from HTML files.
ISC License
430 stars 51 forks source link

Error: Line number (14) greater than maximum line (13) #16

Closed arturparkhisenko closed 8 years ago

arturparkhisenko commented 8 years ago

Comments and thoughts https://github.com/AtomLinter/linter-eslint/issues/359#issuecomment-174665358 and https://github.com/AtomLinter/linter-eslint/issues/359#issuecomment-174873089 Updated gist by me with my example where i can reproduce it https://gist.github.com/arturparkhisenko/f9dd42e82a3713210076

BenoitZugmeyer commented 8 years ago

@arturparkhisenko can you test the master version of this plugin by installing it with npm install git+https://github.com/BenoitZugmeyer/eslint-plugin-html (maybe with -g if you installed eslint globally) , and tell me if it fixes your issue?

arturparkhisenko commented 8 years ago

@BenoitZugmeyer tested with same example - no errors :+1: and after changing LF -> CRLF too. Thanks! Waiting new release to start using it ;)