ricardofbarros / linter-js-standard

Atom linter plugin for JavaScript, using JavaScript Standard Style
https://atom.io/packages/linter-js-standard
MIT License
99 stars 48 forks source link

Also check typescript with .ts extensions #225

Closed lukasoppermann closed 5 years ago

lukasoppermann commented 5 years ago

Hey @ricardofbarros,

this plugin is really useful. Sadly it is of little use to me by now, since I moved to typescript. Please can you make it also check .ts or maybe add a settings input where one can specify which file extensions to check.

Thanks.

lukasoppermann commented 5 years ago

Nice, thanks. đź‘Ť

sonicdoe commented 5 years ago

This is now also published in v6.1.0 🎉 Be sure to set up JavaScript Standard Style as described in their FAQ. Let me know if it doesn’t work as intended.

lukasoppermann commented 5 years ago

Seems to work perfect. Thank you for the quick reaction.

johnjcamilleri commented 5 years ago

This is nice, but needs to be better documented. If I just install the linter-js-standard Atom package and then open a Typescript file, I get parse errors:

Screenshot 2019-05-28 at 08 38 37

It took me ages to figure out that this error was actually coming from this package. It would be great to be able to disable Typescript support from the package's settings page.

sjuvonen commented 4 years ago

I used to like this package but unfortunately after having to work with TypeScript projects as well, this poorly implemented feature makes using linter-js-standard package totally impossible...