I'd assume because ESLint possibly only lints .js/.jsx files, and isn't
meant to lint HTML (unless maybe there is some fancy ESLint plugin for
HTML5 linting).

On Fri, Sep 2, 2016 at 12:40 PM, guivho <[email protected]> wrote:

> Why does eslint complain when checking the attached index.html file?
>
> The index.html file:
> <!DOCTYPE html>
> <html>
> </html>
>
>
> The command:
> eslint index.html
>
>
> Response:
> 1:2  error  Parsing error: Unexpected token
> 1 problem (1 error, 0 warnings)
>
> I realise that this seems so basic, so I must be missing out on something
> essential.
>
> I am running
> eslint v3.4.0 on windows 10
>
>
> Please advise
>
> --
> You received this message because you are subscribed to the Google Groups
> "ESLint" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to