Closed derekr closed 9 years ago
Ah so your using iojs
How do you call the executable? node index.js
or iojs index.js
?
Could you open the Atom Developer Tools
and print here the output of the console when you try to save a .js file?
I still use node index.js
.
which node
/usr/local/bin/node
So there is no additional output on file save:
Note that line 4 has a semi colon – would expect the linter to highlight that.
Hmm strange :/ no errors, could you type in the console process.env.PATH
and check if you have the path /usr/local/bin
?
A bit crufty haha, but yeah it's in there:
/usr/local/heroku/bin:/usr/local/share/npm/bin:/usr/local/share/python:/Users/derekreynolds/.rbenv/bin:/usr/local/php5/bin:/usr/local/packer:/Users/derekreynolds/.node_modules/bin:/Users/derekreynolds/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/heroku/bin:/usr/local/share/npm/bin:/usr/local/share/python:/Users/derekreynolds/.rbenv/bin:/usr/local/php5/bin:/usr/local/packer:/Users/derekreynolds/.node_modules/bin:/Users/derekreynolds/.rbenv/shims:/Users/derekreynolds/.rbenv/bin
Heheh that is one big PATH
So the problem doesn't lie on the init script since it's working like it should, I should add that piece of code on the README as well. But first let's try sort this out.
Do you have the linter configured to lint on save?
Could you force lint on that piece of code with ctrl + cmd + l
? And see if it lints
ctrl + cmd + l
doesn't seem to do anything either.
Found out what it was, I think. Currently at linter-js-standard@0.1.2 doesn't work with linter@<=0.12, I had linter@0.11, so my package was working with me.
I released the new version that is "compatible" with the latest version, the fix was simple but it was a headache to find it.
In case you're curious the commit to AtomLinter that broke linter-js-standard was this https://github.com/AtomLinter/Linter/commit/82a314ac5dc180c67cb3bb470b57f782de6b8cb1
The fix was this, line 34 -> https://github.com/ricardofbarros/linter-js-standard/commit/17bb78e60b083996244735d84a449595e8eef67d
Give me some feedback after you updated the linter-js-standard, thank you! :smile:
Awwwwww yeahhhhh! Thanks a lot! Looks rad.
Ehehe, thank you
I think this is the issue, but it could be something else.
atom
1.8.9
linter0.12.0
linter-js-standard0.1.2
osx10.10.2
system iojs1.4.2