lynt icon indicating copy to clipboard operation
lynt copied to clipboard

Vue support

Open saadq opened this issue 7 years ago • 2 comments

Would be nice to have a --vue flag. This shouldn't be problematic on the ESLint side of things due to eslint-plugin-vue. Unfortunately, I'm not sure if this can be handled on the TSLint side of things though due to single-file components. More info about that here: https://github.com/palantir/tslint/issues/2099

Due to my limited (basically zero) knowledge of Vue, I could definitely use help in this department.

saadq avatar May 17 '18 10:05 saadq

I think we can support it with ESLint first. This will make the linter available for those who uses pure JavaScript and Vue.js.

g-plane avatar Jun 01 '18 16:06 g-plane

Yep, I think I'll go with that and just add a disclaimer in the README about issues with using --vue and --typescript together (or might just throw an error if both those flags are passed together).


Note to self:

  • https://github.com/mysticatea/vue-eslint-parser
  • https://github.com/vuejs/eslint-plugin-vue

saadq avatar Jun 01 '18 17:06 saadq