Thanks Ilya On Friday, September 2, 2016 at 10:01:03 PM UTC+2, Ilya Volodin wrote: > > There is a plugin `eslint-plugin-html` that allows you to lint JavaScript > code inlined inside HTML pages, but it will only lint JavaScript code. > ESLint is a ECMAScript linter, and as such has no plans to ever lint HTML > or other languages. > > Thanks, > > Ilya Volodin > > On Friday, September 2, 2016 at 3:46:03 PM UTC-4, Peter deHaan wrote: >> >> 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.
