saadq / lynt

✨ A zero config JavaScript linter with support for Typescript, Flow, and React.
MIT License
384 stars 6 forks source link

Vue support #2

Open saadq opened 6 years ago

saadq commented 6 years ago

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.

g-plane commented 6 years ago

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

saadq commented 6 years ago

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: