BenoitZugmeyer / eslint-plugin-html

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

support multiple . in file extensions #127

Closed vapier closed 4 years ago

vapier commented 4 years ago

we use .in extensions to indicate a file is a partial input. so if it has .html.in, it means we'll run some utility over it to produce the final .html file.

this setting does not work:

  "html/html-extensions": [".html", ".html.in"]

instead, we need to list .html & .in. but that means it now checks .js.in files too which we don't want.

can the extension test be expanded to support this ?

BenoitZugmeyer commented 4 years ago

Thank you for your suggestion, this has been added in v6.1.0!