mariusv.com

Watch as I awkwardly stumble through life

Fix atom linter puppet lint path error

Posted by Marius Voila on December 21, 2015 in London, U.K . — 0 comments This post contains 271 words

Heya, this is a shortish rant as I am giving a try to Atom and see if is worth dropping vim and Sublime Text 2 for it.

First issue I had with it was configuring linter-puppet-lint because for some reasons (1st, 2nd) is not able to find puppet-lint in the path and because I find my self doing lots of Puppet this days this was crucial for me so instead of just uninstalling Atom I decided to RTFM first. So I found out that there is a option to specify the full path to the binary, sadly the example given on the page:

'linter-puppet-lint':
  'executablePath': /usr/bin/puppet-lint # puppet-lint path.

is not working and needs to be:

"linter-puppet-lint":
  executablePath: "/opt/local/bin/puppet-lint"

So all you have to do is go ahead and edit this file ~/.atom/config.cson and add the working code above and you are good to go. :-)

Conclusion:

Atom is not bad at all but if you want something to just work then keep using whatever you are using now. I will play with Atom for a bit more because I like hacking my way around stuff :-)

RAM usage is okish with one project loaded + 8 plugins (packages) is using 255MB of memory while Sublime Text 2 is using 102MB with the same project open but with no plugins.

PS: this post is written in Atom and published directly from it using jekyll “plugin”