xojs / SublimeLinter-contrib-xo

SublimeLinter plugin for XO
https://github.com/xojs/xo
MIT License
55 stars 7 forks source link

Add Vue.js syntax support #10

Closed lagden closed 6 years ago

sindresorhus commented 6 years ago

Do you have a source for these?

lagden commented 6 years ago

Do you mean this (vue-syntax-highlight)?

lagden commented 6 years ago

I did not know how test it!! So, I made this way:

The question was to know the syntax name!! Well, I put the names down to make sure it works:

'Vue Component',
'vue-component',
'vue-syntax-highlight',
'Vue Syntax Highlight',
'vue'

Maybe you can help me with this... Avoid the unnecessary code 😄

lagden commented 6 years ago

image

sindresorhus commented 6 years ago

Looks like it's enough with 'Vue Component', 'vue': https://github.com/roadhump/SublimeLinter-eslint/blob/69ea575f8be9cb7842fa1de741d17869ffb94670/linter.py#L24

lagden commented 6 years ago

Nice... I will change...

lagden commented 6 years ago

Tks @sindresorhus I am already using the new version via Package Control and everything is ok

:man_technologist: :godmode:

sindresorhus commented 6 years ago

Great :)