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

Not working with latest atom linter #173

Closed jescalan closed 7 years ago

jescalan commented 7 years ago

There was a recent upgrade to the atom linter, and it seems like this package is no longer working. Is this just me? Would be happy to look into it and try to PR as well if this would be helpful 😁

Migration guide here: https://github.com/steelbrain/linter/blob/master/docs/guides/upgrading-to-standard-linter-v2.md

Arcanemagus commented 7 years ago

Are you getting any errors? v1 providers should still work just fine.

jescalan commented 7 years ago

I am getting no activity at all from the plugin after upgrading the linter to v2

Arcanemagus commented 7 years ago

Can you open a file you expect linting to happen on and run Linter: Debug?

jescalan commented 7 years ago

Yep, just did and nothing happened at all

Arcanemagus commented 7 years ago

Uh... so you can see the command in the list, but running it does nothing? 😮

jescalan commented 7 years ago

Yep, exactly!

Arcanemagus commented 7 years ago

Can you check the console in Developer Tools to see if any errors are being logged there?

jescalan commented 7 years ago

Ok just checked it, there were several errors that said invalid json at ~/.atom/linter-config.json. I opened up this file and it was empty. Removing the file and reloading atom solved the issue. Super weird, but thanks for pushing me in the right direction!