BenoitZugmeyer / eslint-plugin-html

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

Support .we extension #30

Closed hanai closed 8 years ago

hanai commented 8 years ago

.we and .vue are similar, and your plugin could interpret perfectly.

BTW: Perhaps this will be better to make htmlExtensions configurable.

BenoitZugmeyer commented 8 years ago

I'll add the .we extension next week (I'm on vacation right now).

For the htmlExtensions configurability: of course it would be better. It's not doable right now, see https://github.com/eslint/eslint/issues/3422 , but I may have found a way to make it happen by monkey-patching some ESLint internals... I'll give it a try.

BenoitZugmeyer commented 8 years ago

Extensions configuration will be available in the next, 2.0 release. Thank you for making me reconsider my previous ESLint monkey-patching method :+1:

BenoitZugmeyer commented 8 years ago

A take back my last comment.

BenoitZugmeyer commented 8 years ago

The .we extension will be supported in the next release, sadly a configurable extension list isn't going to happen right now.